asm_distribution: Test the assumption of a normal distribution

Description Usage Arguments Examples

View source: R/asm_distribution.R

Description

This function applies tests for the normal distribution assumption.

Usage

1
2
3
4
5
6
7
8
asm_distribution(
  data = NULL,
  tests = NULL,
  report = c("pvalue", "statistic")[1],
  simulate = FALSE,
  checkData = !simulate,
  testBatch = NULL
)

Arguments

data

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

tests

a selection of tests via its names or index. See also the asm_library function.

report

which statistics should be reported.

simulate

logical if running in simulation.

checkData

logical if TRUE data is checked before running tests.

testBatch

a subset of asm_library table for selected distribution tests.

Examples

1
2
3
4
# normal distribution
asm_distribution(rnorm(100))
# gamma distribution
asm_distribution(rgamma(100, 2))

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