View source: R/helpfunctions_JAGSmodel.R
paste_scale | R Documentation |
Create the scaling in a data element of a linear predictor
paste_scale(x, row, scalemat)
x |
a character string |
row |
integer; indicating the row of |
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". |
a character string of the form (x - center)/scale
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.