build.R | R Documentation |
Build a Sklar's Omega correlation matrix.
build.R(data)
data |
a matrix of scores. Each row corresponds to a unit, each column a coder. |
This function accepts a data matrix and uses its column names to build the appropriate block-diagonal correlation matrix. If gold-standard scores are included, they should be in the first column of the matrix, and that column should be named 'g'. For a given coder, the column name should begin with 'c', and then the coder number and score number should follow, separated by '.' (so that multi-digit numbers can be accommodated). For example, 'c.12.2' denotes the second score for coder 12.
Note that this function is called by sklars.omega
and so is not a user-level
function, per se. We expose the function so that interested users can more easily carry out
simulation studies.
build.R
returns a list comprising two elements.
R |
the correlation matrix. |
onames |
a character vector that contains names for the parameters of the correlation matrix. |
sklars.omega
, check.colnames
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.