simblock: Generate Random Effect Deviates for Simulation

Description Usage Arguments Details Value Author(s) References See Also

Description

Generate random effect values given the number of simulations, degrees of freedom, and a variance-covariance matrix (block).

Usage

1

Arguments

n

the number of simulations that will be performed

df

vector of degrees of freedom of block elements

cov

variance-covariance matrix

Details

df and cov should have the same length.

Value

matrix, with one row per simulation and one column per element in the corresponding triangular version of cov.

Author(s)

written by Leonid Gibiansky; modified by Tim Bergsma.

References

http://metrumrg.googlecode.com

See Also


metrumrg documentation built on May 2, 2019, 5:55 p.m.