mkcord3: Make standard normal correlated data from 3 groups/conditions

Description Usage Arguments Value

View source: R/utils.R

Description

Make standard normal correlated data from 3 groups/conditions

Usage

1
mkcord3(rho.x1y = 0, rho.x2y = 0.5, rho.x1x2 = 0.2, n = 50)

Arguments

rho.x1y

the population correlation between x1 and y (default 0).

rho.x2y

the population correlation between x2 and y (default 0.5).

rho.x1x2

the population correlation between x1 and x2 (default 0.2).

n

the sample size.

Value

A list with elements x1, x2 and y.


GRousselet/bootcorci documentation built on March 6, 2021, 7:13 a.m.