Displaying 1 result from an estimated 1 matches for "atds2par".
Did you mean:
atds1par
2012 Oct 12
1
Error in rowMeans function
...s 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)
sgs1par <- rowMeans(semHW1dat1[, c("sgs1", "sgs2", "sgs3...