do.rescale - Re-scale data in selected columns between two values, usually 0 and 1.
Source:R/do.rescale.R
do.rescale.Rd
This function allows you to re-scale the data in selected columns between two values, usually 0 and 1.
Arguments
- dat
NO DEFAULT. data.table Input sample.
- use.cols
NO DEFAULT. Vector of character column names – these columns will be normalised and added to the data.table as new columns.
- new.min
DEFAULT = 0. The new minimum value.
- new.max
DEFAULT = 1. The new maximum value.
- append.name
DEFAULT = '_rescaled'. Text to be appended to the column names of re-scaled data.
See also
https://sydneycytometry.org.au/spectre for usage instructions and vignettes.