Description Usage Arguments Value Note Author(s) References Examples
Center data matrix to 0 for each variable by removing the means.
1 | centerData(X, rm.na = TRUE, meanvalue = NULL)
|
X |
The data set: samples x features. Each feature will be centered. |
rm.na |
Ignore NAs. |
meanvalue |
Can be used to set a desired center value. The default is 0. |
Centered data matrix.
Note that the model assumes samples x features matrix, and centers each feature.
Leo Lahti leo.lahti@iki.fi
See citation('netresponse')
1 | centerData(matrix(rnorm(100), 10, 10))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.