preProcess | R Documentation |
Perform matrix pre-processing
preProcess(
X,
offset = 0,
zeroOffset = 0,
trans = "none",
center = "none",
scale = "none"
)
X |
Data matrix with samples in rows and variables in columns |
offset |
Add offset to all data points (defaults to 0) |
zeroOffset |
Add offset to zero data (defaults to 0) |
trans |
Either 'log', 'sqrt' or 'none' (default is 'none') |
center |
Either 'mean', 'none' or a numeric vector of length equal to the number of columns of X (defaults to 'none'). |
scale |
Either 'UV', 'Pareto', 'none' or a numeric vector of length equal to the number of columns of X (defaults to 'none'). |
A pre-processed data matrix
data("freelive2")
preProcess(XRVIP2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.