mubada | R Documentation |
Multiple Subjects Barycentric Discriminant Analysis
mubada( Y, Xlist, ncomp = 2, preproc = center(), normalization = c("MFA", "RV", "None", "RV-MFA", "custom"), A = NULL, M = NULL, ... )
Y |
dependent |
Xlist |
a |
ncomp |
number of common components to estimate. |
normalization |
the type of normalization. |
A |
a |
M |
a |
... |
args to send to |
center |
whether to center the variables. |
scale |
whether to scale the variables by 1/sd. |
Abdi, H., Williams, L. J., & Bera, M. (2017). Barycentric discriminant analysis. Encyclopedia of Social Network Analysis and Mining, 1-20.
Abdi, H., Williams, L. J., Connolly, A. C., Gobbini, M. I., Dunlop, J. P., & Haxby, J. V. (2012). Multiple Subject Barycentric Discriminant Analysis (MUSUBADA): how to assign scans to categories without using spatial normalization. Computational and Mathematical Methods in Medicine, 2012.
Y <- replicate(3, factor(sample(letters[1:3], 20, replace=TRUE)), simplify=FALSE) Xlist <- replicate(3, matrix(rnorm(20*100),20,100), simplify=FALSE) mures <- mubada(Y, Xlist)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.