zscore: Z-score normalization

Description Usage Arguments Examples

Description

A wrapper for the function scale

Usage

1
zscore(x, byrow = TRUE)

Arguments

x

a numeric matrix

byrow

normalize by each row of matrix?

Examples

1
2
3
x <- matrix(1:16, 4, 4)
zscore(x)
zscore(x, byrow=FALSE)

jzsh2000/jzshr documentation built on May 20, 2019, 6:29 a.m.