unscale: Unscale scaled predictors.

View source: R/helperfuns.R

unscaleR Documentation

Unscale scaled predictors.

Description

Unscale scaled predictors.

Usage

unscale(x, center, scale)

Arguments

x

a model matrix or data frame with numeric variables.

center

a vector of means of predictors.

scale

a vector of standard deviation of predictors.

Value

A matrix (model.matrix) with the columns on the original scale.


CYGUBICKO/pcoxtime-pkg documentation built on Aug. 5, 2023, 1:35 p.m.