sim_effect | R Documentation |
Simulate a variable's effect in a vote path analysis.
sim_effect(
obj,
data,
varname,
diffchange = c("unit", "sd"),
vals = NULL,
R = 100,
...
)
obj |
An object of class |
data |
A data frame that contains all of the variables form the analysis. |
varname |
The name of a variable whose effect will be evaluated. |
diffchange |
The amount to change |
vals |
A vector of length 2 giving the values that will be used to evaluate the effect size. This will override
|
R |
Number of simulations to be conducted. |
... |
Other arguments to be passed down. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.