stdz_xy | R Documentation |
Standardize x and y vectors to achieve zero mean and unit variance.
stdz_xy(x, y)
x |
Vector of data which can have NA's |
y |
Vector of data which can have NA's |
stdx |
standardized values of x |
stdy |
standardized values of y |
This works even if there are missing x or y values.
Prof. H. D. Vinod, Economics Dept., Fordham University, NY
## Not run:
set.seed(30)
x=sample(20:30)
y=sample(21:31)
stdz_xy(x,y)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.