stz: Standarize a vextor or a matrix

Description Usage Arguments Value Author(s) Examples

View source: R/stz.R

Description

Rerurn a numerical vetor standarize to a 0 mean and standrat desviation of 1 districution.

Usage

1
stz(x)

Arguments

x

a numeric vector

Value

A numeric vector containing the standarization of x

Author(s)

Andres Vallone

Examples

1
2
3
4
set.seed(100)
data<-rnorm(1000,2,5)
data.stz<-stz(data)
summary(cbind(data,data.stz))

amvallone/spDym documentation built on May 30, 2019, 8:01 a.m.