std: Max min standardization

std_maxR Documentation

Max min standardization

Description

Max min standardization

coef standardization

Usage

std_max(x)

std_min(x)

coef_std(model)

Arguments

x

Numbers.

model

the result of lm function.

Value

Standardized data

Standardized coefficients and p_value.

Examples

std_max(1:10)
std_min(1:10)
set.seed(1)
a1 <- runif(100)
a2 <- a1*runif(100, .9,1.2)*100
a3 <- runif(100, .9,1.2)*10
md1 <- lm(a1 ~ a2 +a3)
coef(md1)
coef_std(md1)

yanpd01/yyeasy documentation built on Dec. 1, 2022, 10:58 p.m.