invRescale: Inverse rescaling

Description Arguments Value Examples

View source: R/Medbetareg.r

Description

Inverse rescaling for a set of values of a medical variable.

Arguments

v

A numerical value or a numerical vector containing the values to be rescaled.

vscale

A vector of 4 cutpoints if the variable is continuous, or NA if the variable is binary.

Value

A numerical value or a numerical vector.

Examples

1
invRescale(v=seq(-1.5,1.5,length=21), vscale=c(0,15,25,40))

alessandromagrini/Medbetareg documentation built on March 7, 2021, 4:54 p.m.