pr_list | R Documentation |
This function allows you to create formatted predictions and contrasts.
pr_list(..., .constant = NULL, .diff.in.diff = NULL, .add = NULL) pr(..., .constant = NULL, .diff.in.diff = NULL, .add = NULL)
... |
Variables that will be used to create the predictions. If the variable values are named vectors, predictions are generated by sampling the vector. |
.constant |
Variable(s) to hold constant within a contrast. |
.diff.in.diff |
Variable(s) to use to create a "difference-in-difference" contrast. |
.add |
Text to add to a contrast. |
pr_list(treatment = c(1, 0), condition = c("High", "Low"), .constant = "condition")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.