fun.sim {MultiGroupO}R Documentation

Simulation function of quantitative multigroup data under a multivariate normal distribution

Description

Simulation function of quantitative multigroup data under a multivariate normal distribution

Usage

fun.sim(g, mean1, d, n.var, sds2, corr)

Arguments

g

An vector of the size of each group

mean1

An vector of the population means structure

d

distance d for the structure of population means

n.var

2x1 dimension vector whose first component is the number of random variables to simulate and the second component number of noise variables to simulate

sds2

An vector of the variances to simulate for each group noise variables

corr

An vector of the correlation to simulate for each group and noise variables

Value

return an grafics

Examples

fun.sim(g=c(20,20),mean1=2,d=0,sds2=c(1,1,1),corr=c(0.5,0.5,0),n.var=c(50,1))

[Package MultiGroupO version 0.4.0 Index]