makeEta: makeEta - a wrapper for mvrnorm that currently does nothing...

View source: R/dataMakers.R

makeEtaR Documentation

makeEta - a wrapper for mvrnorm that currently does nothing else but set the seed and call mvrnorm. Retained as we may need to extend its functionality

Description

makeEta - a wrapper for mvrnorm that currently does nothing else but set the seed and call mvrnorm. Retained as we may need to extend its functionality

Usage

makeEta(n, mu, Sigma, seed = 1)

Arguments

n

See mvrnorm.

mu

See mvrnorm.

Sigma

See mvrnorm.

seed

Default 1. A random seed for replication.

Author(s)

Stephen Tueller stueller@rti.org

Examples

Y  <- makeEta(1000, c(0,0), matrix(c(1,.3,.3,1), 2, 2))
pairs(Y)

ICTatRTI/PersonAlyticsPower documentation built on Dec. 13, 2024, 11:08 p.m.