Skip to contents

Create a summary table of a two-sample mean interval

Usage

infer_2mean_int(data, formula, digits = 3, conf_lvl = 0.95, caption = NULL)

Arguments

data

A data frame (or tibble).

formula

The variables to run the test on, in formula syntax, var1 ~ var2.

digits

The number of digits to round table values to. Defaults to 3.

conf_lvl

The confidence level of the interval, entered as a value between 0 and 1. Defaults to 0.95.

caption

An override to the table caption. A sensible default is provided.

Value

An object of class flextable. In an interactive environment, results are viewable immediately.

Examples

infer_2mean_int(mtcars, wt~vs)
infer_2mean_int(mtcars, wt~vs, conf_lvl = .9)