R/adjust.R

Defines functions adjust

Documented in adjust

adjust <-
function(age){
u=-1
v=1
n=length(age)
amin=min(age)
amax=max(age)

temp=u+(v-u)/(amax-amin)*(age-amin)
return(temp)
}

Try the InfDim package in your browser

Any scripts or data that you put into this service are public.

InfDim documentation built on May 1, 2019, 9:09 p.m.