clean_params | R Documentation |
Check parameters sum to 1 in param_set; normalize if needed; add names if needed
clean_params(parameters_df, warning = TRUE)
parameters_df |
A |
warning |
Logical. Whether to print warning (if any) in console. Defaults to TRUE |
A parameters data.frame
with names and where parameters
sum to 1.
model <- make_model('X->Y')
model$parameters_df$param_value <- 1:6
CausalQueries:::clean_params(model$parameters_df, warning = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.