Displaying 1 result from an estimated 1 matches for "d_s6_m".
Did you mean:
d_s1_m
2012 Nov 19
1
Error in `[.data.frame`... undefined columns selected
...s5_1234_m","s6_1234_m","s7_1234_m","s8_1234_m","s9_1234_m"
)]
However, when I run the script on 9 different variables, it does not work:
Z <-
data[,c("d_s1_m","d_s2_m","d_s3_m","d_s4_m","d_s5_m","d_s6_m","d_s7_m","d_s8m","d_s9m"
)]
Error in `[.data.frame`(data, , c("d_s1_m", "d_s2_m", "d_s3_m", "d_s4_m",
:
undefined columns selected
The first 9 variables are between 0 and 3, there are no missing values in
the dataset....