get_summary: Summarize a simloglm object

View source: R/get_summary.R

get_summaryR Documentation

Summarize a simloglm object

Description

Summarize a simloglm object

Usage

get_summary(input_obj, which_qoi = "median", alpha = 0.05)

Arguments

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".

Examples

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

mneunhoe/simloglm documentation built on June 14, 2022, 5:18 p.m.