center_data: Centers the observations in a matrix by their respective...

Description Usage Arguments Value

Description

Centers the observations in a matrix by their respective class sample means

Usage

1

Arguments

x

matrix containing the training data. The rows are the sample observations, and the columns are the features.

y

vector of class labels for each training observation

Value

matrix with observations centered by its corresponding class sample mean



Search within the sparsediscrim package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.