sim.theor: Generate theoretical values for back-projection exercises

Description Usage Arguments Value Author(s) See Also Examples

View source: R/cpcbp.R

Description

Returns a list of the theoretical group means, common variance-covariance matrix, and common eigenvectors for a specified set of back-projection simulation parameters

Usage

1
sim.theor(vars = c(10, 10, 10), cors = 0.8, m1a = rep(0, length(vars)), offset = 1, offset2 = 0)

Arguments

vars

within-group variances

cors

within-group correlations

m1a

means of first group

offset

offset(s) in the first PC direction

offset2

offset(s) in the second PC direction

Value

mean

the mean values of each group

varcov

the common variance-covariance matrix

eigs

the common eigenvector matrix

Author(s)

Ben Bolker

See Also

simdata

Examples

1
   sim.theor(offset=10,offset2=3)

bbolker/cpcbp documentation built on May 10, 2017, 10:26 p.m.