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.


pcoxtime documentation built on May 13, 2022, 1:05 a.m.

Related to unscale in pcoxtime...