simple.scale: 'Simple' Scaling and Centering

Description Usage Arguments Details Value See Also

Description

Simpler version of the scale function, which works better for variables in data lists.

Usage

1
simple.scale(x, center = TRUE, scale = TRUE, simplify = TRUE)

Arguments

x

an R object with numeric data

center

should mean of x be subtracted from x?

scale

should x (centered or otherwise) be divided by its (population) standard deviation?

simplify

should x be first passed through simplify2array?

Details

simple.scale simplifies scale in three ways:

For further information, just type simple.scale to see the source (it really is a very simple function).

Value

A scaled version of x (possibly simplified to an array, if simplify = TRUE).

See Also

scale


stevencarlislewalker/multitable documentation built on May 30, 2019, 4:44 p.m.