cor_matrix: Set up Correlation Matrices

View source: R/misc.R

cor_matrixR Documentation

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

cor_matrix(c(0.2, 0.3, 0.5), dim = 3)


thurstonianIRT documentation built on Aug. 22, 2023, 5:08 p.m.