snv | R Documentation |
This function performs Standard Normal Variate (SNV) scaling on the input spectral data. SNV scaling scales each row of the input data to have zero mean and unit standard deviation. This is equivalent to autoscaling the transpose of the input data.
snv(x, drop.na = TRUE)
x |
A numeric matrix or data frame. |
drop.na |
A logical value indicating whether to remove missing values
(NA) from the calculations. If |
A list with the following components:
correction |
The SNV-scaled data. |
means |
A vector of row means. |
stds |
A vector of row standard deviations. |
Christian L. Goueguel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.