mvnsamp: create a balanced sample of MVN outcomes for input to...

Description Usage Arguments Value Examples

Description

create a balanced sample of MVN outcomes for input to gee-like programs

Usage

1
mvnsamp(n=100, m=rep(0, 4), v=diag(4))

Arguments

n

number of clusters

m

number of entries/cluster

v

covariance

Value

a data.frame with columns y, id and tim

Examples

1
2
mydf <- mvnsamp()
with(mydf, yags(y~tim,id=id,corstr="exchangeable", alphainit=.1))

yags documentation built on May 2, 2019, 5:46 p.m.

Related to mvnsamp in yags...