Here I am trying to name the individual elements of this list as a function of x so that I may index it later like one would with a dataframe or vector, yet I keep getting the error message
Error: unexpected '=' in "Indxlist <- sapply(1:1600, function(x) list( (x) ="
Here is the code that I am attempting to use...
Indxlist <- sapply(1:1600, function(x) list( (x) = dataframe1[,x]))
Thanks!