Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/mpSTATIS.preprocess.R
Combines all preprocessing choices, and prepares the data for STAITS processing.
1 2 3 |
data |
Data Matrix |
column.design |
Matrix which identifies the tables. |
row.design |
Matrix which identifies the groups |
row.preprocess |
String option for row preprocessing with the following options: 'None' (default), 'Profile', 'Hellinger', 'Center' and 'Center_Hellinger' |
column.preprocess |
String option for column preprocessing with the following options: 'None' (default), 'Center', '1Norm', 'Center_1Norm' and 'Z_Score' |
table.preprocess |
String option for table preprocessing with the following options: 'None' (default), 'Num_Columns', 'Tucker', 'Sum_PCA', 'RV_Normalization' and 'MFA_Normalization' |
make.columndesign.nominal |
a boolean. If TRUE (default), table is a vector that indicates groups (and will be dummy-coded). If FALSE, table is a dummy-coded matrix. |
make.rowdesign.nominal |
a boolean. If TRUE (default), table is a vector that indicates groups (and will be dummy-coded). If FALSE, table is a dummy-coded matrix. |
This function calls all the preprocessing functions and consolidates the results. In addition it prepares the group matrix, and gets the data ready for processing.
data.preprocessed |
Matrix of the Preprocessed Data |
num.obs |
Number of Observations |
col.groups |
Original matrix which was selected in the initial step |
groupMatrix |
Matrix which identifies the Tables |
numgroups |
Number of Tables |
table.ids |
Table IDs |
row.preprocess |
Option of row preprocessing selected |
column.preprocess |
Option of column preprocessing selected |
table.preprocess |
Option of table preprocessing selected |
Cherise R. Chin Fatt cherise.chinfatt@utdallas.edu
Abdi, H., Williams, L.J., Valentin, D., & Bennani-Dosse, M. (2012). STATIS and DISTATIS: Optimum multi-table principal component analysis and three way metric multidimensional scaling. Wiley Interdisciplinary Reviews: Computational Statistics, 4, 124-167
mpSTATIS.rowPreproc
, mpSTATIS.columnPreproc
, mpSTATIS.tablePreproc
1 2 3 4 5 6 7 | X <- matrix(1:10,2)
Y<- as.matrix(c('g1','g1','g1','g2','g2'))
row.preprocess='Center'
column.preprocess='Center'
table.preprocess='Sum_PCA'
preproc <-mpSTATIS.preprocess(X, column.design = t(Y), row.preprocess = row.preprocess,
column.preprocess = column.preprocess, table.preprocess = table.preprocess)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.