data(ProfChal)
## Single matrix with long list item names and long row names
## of argument list retained as an attribute.
ProfChal[2:3]
print(ProfChal[2:3], minlength=6)
## Original list of matrices is difficult to read because
## it is displayed on too many lines.
print.default(ProfChal[2:3])
tmp3 <- array(1:24, dim=c(2,3,4), dimnames=list(A=letters[1:2], B=LETTERS[3:5], C=letters[6:9]))
as.MatrixList(tmp3)
sapply(as.MatrixList(tmp3), as.likert, simplify=FALSE) ## odd number of levels.
data(NZScienceTeaching)
tmp <- as.likertDataFrame(NZScienceTeaching)
tmp
likert(Question ~ ., tmp)
likert(Question ~ . | Subtable, data=tmp)
Run the code above in your browser using DataCamp Workspace