search for: semhw1dat1

Displaying 1 result from an estimated 1 matches for "semhw1dat1".

2012 Oct 12
1
Error in rowMeans function
Hello, I am trying to create parcels for a CFA model. I am trying to average 6 sets of 3 variables each into parcels. I don't understand why I am getting an error message as follows: Thanks for your help, Catherine atds1par <- rowMeans(semHW1dat1[, c("atds1", "atds2", "atds3")], na.rm=TRUE) atds2par <- rowMeans(semHW1dat1[, c("atds4", "atds5", "atds6")], na.rm=TRUE) atds3par <- rowMeans(semHW1dat1[, c("atds7", "atds8", "atds9")], na.rm=TRUE)...