get_summary | R Documentation |
Summarize a simloglm object
get_summary(input_obj, which_qoi = "median", alpha = 0.05)
input_obj |
An object of class simloglm (the output of calling simloglm). |
alpha |
The significance level for the resulting confidence interval. Default is 0.05. |
which_mean |
Are you interested in the conditional arithmetic mean ("arithmetic_mean") or conditional geometric mean ("geometric_mean"; same as median)? Default is "geometric_mean". |
df <- cars regression <- lm(log(dist)~speed, data = df) # Specifiying no scenario to simulate at the mean of speed. simulation_results <- simloglm(regression) simulation_summary <- get_summary(simulation_results) simulation_summary
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.