Skip to contents

Name for square arrays like correlation matrices

Usage

cornames(x) <- value

Arguments

x

a square array, matrix, or data.frame

value

a vector of names

Value

a named square array, matrix, or data.frame

Examples

R <- tri2cor(.5)
cornames(R) <- c("A", "B")