Description Usage Arguments Details Value References See Also
View source: R/create.ccrsdata.R
Creates a dataset for CCRS from a preference data matrix.
1 | create.ccrsdata(X,q=q)
|
X |
An n by m categorical data matrix. |
q |
An integer indicating the maximum rating. |
For the difference between Mmat.q and Mmat.q1 in the resulting list, see Section 3.2 in reference paper.
Returns a list with the following elements.
|
An n by q-1 matrix of scaled rank-ordered boundary data. |
|
A q-1 by 3+1 matrix of I-spline basis functions, evaluated at the boundaries. +1 indicates all 0 intercepts. |
|
A q by 3+1 matrix of I-spline basis functions, evaluated at the midpoints between boundaries. |
|
An n by m categorical data matrix same as the input |
Takagishi, M., Velden, M. van de & Yadohisa, H. (2019). Clustering preference data in the presence of response style bias, to appear in British Journal of Mathematical and Statistical Psychology.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.