descript(data, n.print = 10, chi.squared = TRUE, B = 1000)matrix or a data.frame containing the manifest variables as columns.TRUE the chi-squared test for the pairwise associations between items
is performed. See Details for more info.B
argument of chisq.test()).descript() returns an object of class descript with components,data contains only dichotomous manifest variables the logit of the positive responses (i.e.,
second row) is also included.n.print argument.data.NA's exist in data.data.descript():
[object Object],[object Object],[object Object],[object Object],[object Object]plot.descript,
unidimTest## Descriptives for LSAT data:
dsc <- descript(LSAT, 3)
dsc
plot(dsc, type = "b", lty = 1, pch = 1:5)
legend("topleft", names(LSAT), pch = 1:5, col = 1:5, lty = 1, bty = "n")Run the code above in your browser using DataLab