View source: R/model_setup_helpers.R
create_slope_term | R Documentation |
Creates a single slope term (at the population level) Can be manipulated via "by" argument as done in mgcv (Wood, 2017). Note: Use of unique values that are just repeated requires all levels of the category factor (usually subjects) to have the same values on the variable time.
create_slope_term(time, fact)
time |
A numeric vector containing positive time values in ms |
fact |
The factor column from the data-frame passed to papss::pupil_solve() |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.