makecora: generate a square root of a correlation matrix

View source: R/DataGen.R

makecoraR Documentation

generate a square root of a correlation matrix

Description

This function generate data follows linear model based on parameter input.

Usage

makecora(amply, tilt, shrink, p)

Arguments

amply

parameter controlling the correlation

tilt

parameter controlling the correlation

shrink

parameter(>=0) controlling the correlation

p

dimensional of the matrix

Value

corr correlaation matrix


hychen-uic/TEV documentation built on Jan. 24, 2025, 9:14 p.m.