Standardized | R Documentation |
Standardize a numeric vector by centering and scaling, handling NAs appropriately.
If the computed standard deviation is NA
or zero, a small constant
(1e-6
) is used instead to avoid division by zero.
The returned basis matrix has one column with this standardized name.
Standardized(x)
x |
a numeric vector to standardize. Missing values are allowed and will be replaced with 0 after standardization. |
an instance of class Standardized
extending ParametricBasis
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.