search for: myqlevels

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

Did you mean: mylevels
2006 Dec 18
1
Applying variable labels across a data frame
...2,f,3,1, ,3 5,1,m,4,5,2,4 6,2,m,5,4,5,5 7,1,m,5,3,4,4 8,2,m,4,5,5,9") mydata<-read.table(textConnection(mystring), header=TRUE,sep=",",row.names="id",na.strings="9") print(mydata) # Create copies of q variables to use as factors # so we can count them. myQlevels <- c(1,2,3,4,5) myQlabels <- c("Strongly Disagree", "Disagree", "Neutral", "Agree", "Strongly Agree") print(myQlevels) print(myQlabels) # Generate two sets of var names to use. myQna...