scalefaster: Faster version for scale function

Description Usage Arguments Details Value

Description

Does the thing as scale() but faster.

Usage

1

Arguments

x

A matrix; is.matrix(x) should be TRUE.

Details

Uses colSds() from matrixStats package.

Value

A matrix in which columns are centered to have zero mean and scaled to have sd one.


Zepeng-Mu/fasterscale documentation built on Jan. 23, 2020, 12:20 a.m.