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

View source: R/helpfunctions_JAGSmodel.R

paste_scaleR Documentation

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)

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".

Value

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


JointAI documentation built on April 27, 2023, 5:15 p.m.