I have multiple csv files in a directory. How can I create a 3D array while reading them in R?
Here is what I tried:
temp <- list.files(pattern="*.csv")
myfiles <- lapply(temp, read.delim)
This creates a list but I am not sure how to create 3D array from here. Any thoughts?