Learn R Programming

mixKernel (version 0.9-2)

center.scale: Center and scale

Description

Center and scale a dataset.

Usage

center.scale(X)

Value

center.scale returns a centered and scaled matrix.

Arguments

X

a numeric matrix (or data frame) to center and scaled. NAs not allowed.

Author

Celine Brouard <celine.brouard@inrae.fr> Jerome Mariette <jerome.mariette@inrae.fr> Nathalie Vialaneix <nathalie.vialaneix@inrae.fr>

See Also

compute.kernel, combine.kernels

Examples

Run this code
data("nutrimouse")
if (FALSE) {
 nutrimouse.sc <- center.scale(nutrimouse$gene)
}

Run the code above in your browser using DataLab