View source: R/02_TestItemFunctions.R
PolychoricCorrelationMatrix | R Documentation |
Polychoric Correlation Matrix
PolychoricCorrelationMatrix(U, na = NULL, Z = NULL, w = NULL)
## Default S3 method:
PolychoricCorrelationMatrix(U, na = NULL, Z = NULL, w = NULL)
## S3 method for class 'ordinal'
PolychoricCorrelationMatrix(U, na = NULL, Z = NULL, w = NULL)
U |
Either an object of class "exametrika" or raw data. When raw data is given,
it is converted to the exametrika class with the |
na |
Values to be treated as missing values. |
Z |
Missing indicator matrix of type matrix or data.frame. Values of 1 indicate observed responses, while 0 indicates missing data. |
w |
Item weight vector specifying the relative importance of each item. |
A matrix of polychoric correlations with exametrika class. Each element (i,j) represents the polychoric correlation between items i and j. The matrix is symmetric with ones on the diagonal.
# example code
PolychoricCorrelationMatrix(J5S1000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.