powered by
Standardize x and y vectors to achieve zero mean and unit variance.
stdz_xy(x, y)
Vector of data which can have NA's
standardized values of x
standardized values of y
# NOT RUN { # } # NOT RUN { set.seed(30) x=sample(20:30) y=sample(21:31) stdz_xy(x,y) # } # NOT RUN { # }
Run the code above in your browser using DataLab