stan | R Documentation |
Standardize variables. For each column, return mean 0 and mean value of sum of squares = 1.
stan(x, weights)
x |
numeric variables, can be a matrix or vector |
weights |
numeric positive vector of weights |
A list with the following items.
x |
standardized variables with each column: mean value 0 and mean value of sum of squares = 1. |
meanx |
a vector of means for each column in the original |
normx |
a vector of scales for each column in the original |
Zhu Wang <wangz1@uthscsa.edu>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.