Learn R Programming

JointAI (version 1.0.6)

paste_scale: Create the scaling in a data element of a linear predictor

Description

Create the scaling in a data element of a linear predictor

Usage

paste_scale(x, row, scalemat)

Value

a character string of the form (x - center)/scale.

Arguments

x

a character string

row

integer; indicating the row of scalemat to be used

scalemat

character string; name of the matrix containing the scaling information (e.g., "spM_lvlone"). This matrix is assumed to have columns "center" and "scale".