fp_add_scale | R Documentation |
This function allows to add columns to a design matrix with scaled factor, i.e. factors reported in real units rather in coded units (e.g. -1, 1).
fp_add_scale(dm, ..., suffix = "_s")
dm |
the design matrix to scale. |
... |
a set of factors to scale, with their respective ranges, e.g.
|
suffix |
the suffix to add to the scaled factor name in creating new columns. If the suffix is the empty string, factors are replaced. |
the design matrix with the scaled factors.
fp_design_matrix(3, rep=2) %>%
fp_add_scale(A=c(10, 30), B=c(0, 1), suffix=".scaled")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.