I would like to select the column values in my dataset and assign them to a variable which I can then display in the console. Specifically I wish to have all the same column entries extracted, each into a dedicated variable. For this reason I have tried the following commands:
placebo <- recup[,c("Type")]
print(placebo)
The errors I receive resemble the following:
Error in c["Type"] : object of type 'builtin/closure' is not subsettable
I am unsure wether I should be using the select() function, or if I should be successful by list using positions or by ranges. First, why am not able to see any data being printed with my present commands? Also the 'c' does not appear to be necessary.