thurstonianIRT (version 0.9.0)

cor_matrix: Set up Correlation Matrices

Description

Set up Correlation Matrices

Usage

cor_matrix(cors, dim, dimnames = NULL)

Arguments

cors

vector of unique correlations

dim

Dimension of the correlation matrix

dimnames

Optional dimnames of the correlation matrix

Value

A correlation matrix of dimension dim.

Examples

Run this code
# NOT RUN {
cor_matrix(c(0.2, 0.3, 0.5), dim = 3)

# }

Run the code above in your browser using DataLab