
table2matrix(x, labs = NULL)
table2df(x, count=NULL,labs = NULL)
This function may also be used to convert an item response pattern table into a data table. e.g., the Bock data set bock
.
cubits
and bock
data setsdata(cubits)
cubit <- table2matrix(cubits,labs=c("height","cubit"))
describe(cubit)
ellipses(cubit,n=1)
data(bock)
responses <- table2df(bock.table[,2:6],count=bock.table[,7],labs= paste("lsat6.",1:5,sep=""))
describe(responses)
Run the code above in your browser using DataLab