Displaying 1 result from an estimated 1 matches for "myscale1".
Did you mean:
myscale
2008 May 30
0
imputationlist, update, and recode
...ull=TRUE)
allmis <- imputationList(lapply(files.allmisets, read.csv))
scale1_vars <- c("var1", "var2", "var3", ... "var20")
scale2_vars <- c("var21", "var22", "var23", ... "var34")
allmis <- update(allmis, myscale1 = rowMeans(allmis[scale1_vars],
na.rm=TRUE))
allmis <- update(allmis, myscale2 = rowMeans(allmis[scale2_vars],
na.rm=TRUE))
Any help with this or general pointers about how to manage scale
construction across multiple data sets much appreciated.
Don
[[alternative HTML version deleted]]