I have 22 of Excel files (850*2). I loaded into R by such code
setwd ("D: /baseline")
file_2day=list. files (pattern = "*. csv")
d_2day<-do.call("rbind", sapply(file_2day, read.csv, simplify = FALSE)) .
They have a naming pattern, like T1_W1_base.CSV, T1_W10_base.CSV, etc. Below is the sample of my data
feature.name value
w1.1 3ddim 100
w1.2 2ddim 80
w1.3 mean 5
w10.1 3ddim 90
w10.2 2ddim 70
w10.3 mean 3
I'd like to arrange my data like this
Feature.name 3ddim 2ddim mean
w1 100 80 5
w10 90 70 3
actually my features are 850. Does anyone have any suggestions to achieve this format?