prep.center: Centering data columns.

View source: R/prep.R

prep.centerR Documentation

Centering data columns.

Description

Centering data columns.

Usage

prep.center(data, type = "mean", center = NULL)

Arguments

data

a matrix with data values.

type

type of statistic to use for centering ('mean', or 'median').

center

do not use, required for training of preprocessing model.

Value

preprocessed data matrix


mdatools documentation built on March 6, 2026, 5:08 p.m.