Simulate response variable
1 | generate_response(data, sim_args, keep_intermediate = TRUE, ...)
|
data |
Data simulated from other functions to pass to this function. |
sim_args |
A named list with special model formula syntax. See details and examples for more information. The named list may contain the following:
|
keep_intermediate |
TRUE/FALSE flag indicating whether intermediate steps should be kept. This would include fixed effects times regression weights, random effect summations, etc. Default is TRUE. |
... |
Other arguments to pass to error simulation functions. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.