do.zscore: do.zscore - Calculate z.score for a dataset

Description Usage Arguments Value

View source: R/do.zscore.R

Description

do.zscore - Calculate z.score for a dataset

Usage

1
do.zscore(dat, use.cols)

Arguments

dat

NO DEFAULT. A data.table (or data.frame) containing the data to be converted to z-scores. Z-score transformed values will be added as new columns.

use.cols

NO DEFAULT. The columns to be used for z-score calculations.

append.name

DEFAULT = '_zscore'. Text to be appended to the end of the new z-score transformed columns.

Value

Returns a new data.table with z-score calculations for each selected column


sydneycytometry/Spectre documentation built on March 20, 2021, 2:15 a.m.