Learn R Programming

pcoxtime (version 1.0.4)

unscale: 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.