asm_independence: Test the assumption of independence

Description Usage Arguments Examples

View source: R/asm_independence.R

Description

This function applies tests for the assumption of independence in form of autocorrelations.

Usage

1
2
3
4
5
6
7
8
9
asm_independence(
  data = NULL,
  tests = NULL,
  report = c("p.value", "statistic", "parameter")[1],
  testBatch = NULL,
  simulate = FALSE,
  lag = 1,
  checkData = !simulate
)

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.

testBatch

a subset of asm_library table for selected independence tests.

simulate

logical if running in simulation.

lag

logical if running in simulation.

checkData

logical if TRUE data is checked before running tests.

Examples

1
asm_independence(list(A = 1:100, B = 1:100))

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