Skip to contents

Create a compound-symmetric correlation matrix

Usage

cor_cs(r, m = 2)

Arguments

r

rho, correlation coefficient (numeric/scalar)

m

number of rows/columns (numeric/scalar)