Learn R Programming

generalCorr (version 1.2.6)

stdz_xy: Standardize x and y vectors to achieve zero mean and unit variance.

Description

Standardize x and y vectors to achieve zero mean and unit variance.

Usage

stdz_xy(x, y)

Value

stdx

standardized values of x

stdy

standardized values of y

Arguments

x

Vector of data which can have NA's

y

Vector of data which can have NA's

Author

Prof. H. D. Vinod, Economics Dept., Fordham University, NY

Examples

Run this code

if (FALSE) {
set.seed(30)
x=sample(20:30)
y=sample(21:31)
stdz_xy(x,y) }

Run the code above in your browser using DataLab