asm_ttest: t-test with explicit assumptions

Description Usage Arguments Examples

View source: R/asm_ttest.R

Description

This function is a wrapper for the t.test function. Before conducting the t-test diagnostic plots are shown to assess the assumptions of the t-test.

Usage

1
asm_ttest(x, y = NULL, ..., confirm = TRUE, diagnosePlots = TRUE, color = T)

Arguments

x

numeric vector of data values.

y

NULL or a numeric vector of data values.

...

further arguments passed to t.test functions (like mu, paired).

confirm

logical. If TRUE ask to confirm assumptions.

diagnosePlots

logical. If TRUE print diagnostic plots.

color

logical. If TRUE the assumption print is colored.

Examples

1
asm_ttest(rnorm(30), rnorm(30, 2))

animalSymbolicum/assumptions documentation built on Dec. 19, 2021, 3:37 a.m.