having a small issue binding some dfs together.
I used the following procedure to create simplified dfs:
PWI_1 <- read.xlsx("/Users/myname/Desktop/PrelimPWI/PWI_1_V1A.xlsx", colNames = TRUE, startRow = 2)
Slim_1 <- data.frame(PWI_1$ExperimentName,PWI_1$Subject, PWI_1$error,PWI_1$Block, PWI_1$Category, PWI_1$Trial,PWI_1$prompt1.RT)
...etc for the following files.
I then used this code to try and bind the dfs:
merged <- bind_rows(list(Slim_1,Slim_10,Slim_11...))
However, the dfs are concatenated to the right, instead of appended on the end in one long format df. *Note the PWI_V1x is the name of the experiment version, which needs to be lined up
I think the error is caused by the variable trimming process (ie creating a 'slim' df), but unfortunately the untrimmed files have different numbers of columns, so I get an error when trying to bind the original dfs. Any advice would be appreciated!