muasca: muasca

Description Usage Arguments Examples

View source: R/asca.R

Description

muasca

Usage

1
muasca(formula, Xlist, ncomp = 2, design, scale = FALSE, A = NULL)

Arguments

formula

a formula specifying the ANOVA design

Xlist

a list of X matrices, one per subject.

design

a data.frame providing the variables provided in formula argument.

scale

whether to scale the variables

Examples

1
2
3
4
5
6
7
8
f1 <- factor(rep(letters[1:4], 25))
f2 <- factor(rep(1:4, each=25))

des <- data.frame(f1=f1,f2=f2)

Xlist <- replicate(5, matrix(rnorm(100*100), 100, 100), simplify=FALSE)

res <- muasca(~ f1*f2, Xlist, ncomp=3,design=des)

bbuchsbaum/neuropls documentation built on Dec. 9, 2020, 7:02 p.m.