Description Usage Arguments Value References See Also
This function allows you to re-scale the data in selected columns between two values, usually 0 and 1.
| 1 | do.rescale(dat, use.cols, new.min = 0, new.max = 1, append.name = "_rescaled")
 | 
| 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. | 
A data.table with new columns added, that contain the re-scaled data.
https://sydneycytometry.org.au/spectre
https://sydneycytometry.org.au/spectre for usage instructions and vignettes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.