View source: R/vector_helpers.R
| set_vars | R Documentation |
Many models generate multivariate predictions (e.g., SBP/DBP, CBC panels) but Entity$update() expects a named list of scalar changes. set_vars() converts vectors into the expected named-list format.
set_vars(vars, values)
vars |
Character vector of variable names. |
values |
Vector of values (same length as vars). |
Named list suitable for transition() returns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.