center.scale: Center and scale

View source: R/center.scale.R

center.scaleR Documentation

Center and scale

Description

Center and scale a dataset.

Usage

center.scale(X)

Arguments

X

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

Value

center.scale returns a centered and scaled matrix.

Author(s)

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

data("nutrimouse")
## Not run: 
 nutrimouse.sc <- center.scale(nutrimouse$gene)

## End(Not run)


mixKernel documentation built on Sept. 18, 2023, 5:16 p.m.