View source: R/02_TestItemFunctions.R
Dimensionality | R Documentation |
The dimensionality is the number of components the test is measuring.
Dimensionality(U, na = NULL, Z = NULL, w = NULL)
## Default S3 method:
Dimensionality(U, na = NULL, Z = NULL, w = NULL)
## S3 method for class 'binary'
Dimensionality(U, na = NULL, Z = NULL, w = NULL)
## S3 method for class 'rated'
Dimensionality(U, na = NULL, Z = NULL, w = NULL)
## S3 method for class 'ordinal'
Dimensionality(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. |
Returns a list of class c("exametrika", "Dimensionality") containing:
Sequence of component numbers
Eigenvalues of the tetrachoric correlation matrix
Percentage of variance explained by each component
Cumulative percentage of variance explained
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.