mbca: Between Group Analysis

Description Usage Arguments Details Author(s) See Also Examples

Description

Performs a principle component analysis with subject to an instrumental grouping structure.

Usage

1
mbca(mat, group)

Arguments

mat

An object of class matrix with response vectors in columns and observations per subject in rows.

group

A factor allocating the rows of the response matrix into several clusters.

Details

The main part of the code is taken from functions dudi.pca and bca of package ade4.

Author(s)

Daniel Gerhard

See Also

dudi.pca, bca, bcatest

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
### see ?coagulation in package SimComp
data("coagulation", package = "SimComp")

### level "S" is the standard, "H" and "B" are novel procedures
coagulation$Group <- relevel(coagulation$Group, ref = "S")

(bcaobj <- mbca(mat=as.matrix(coagulation[,c(2,3,4)]), coagulation$Group))
plot(bcaobj)

bcatest(bcaobj, Klist="Tukey", nperm=999)

daniel-gerhard/MultiCA documentation built on May 14, 2019, 3:37 p.m.