asm_preTests: Apply assumption tests

Description Usage Arguments Examples

View source: R/asm_pre.R

Description

This function applies all tests of asm_library tests or a defined selection of tests.

Usage

1
asm_preTests(data, tests = NULL, testBatch = NULL, simulate = FALSE)

Arguments

data

a vector, list or data.frame of data values.

tests

a selection of tests via its names or index.

testBatch

a subset of asm_library table for selected tests.

simulate

logical if running in simulation.

Examples

1
2
3
4
5
6
7
8
# test with normal data
asm_preTests(rnorm(40))
# test with non identically distributed data
asm_preTests(c(rnorm(20), rnorm(20, 2, 2)))
# test with non independent data
asm_preTests(diffinv(rnorm(40)))
# with homogeneity tests
asm_preTests(list(A = rnorm(20), B = rnorm(20, 2, 2)))

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