equivtest: Run Equivalence Tests on Existing CLMM Object

Description Usage Arguments Value Examples

View source: R/fit.R

Description

Run Equivalence Tests on Existing CLMM Object

Usage

1
equivtest(mod, .data, main_effect = FALSE, delta = 0.14)

Arguments

mod

Fitted model object, result of call to clmm.

.data

Data frame containing source data.

main_effect

Whether to perform the test for the main effect (TRUE) or interaction (FALSE).

delta

Delta (SESOI) for the equivalence test, in raw log odds units.

Value

A vector with p-values from the equivalence test(s); elements named simple test simple effects, while elements named equiv contain the corresponding equivalence test results.

Examples

1
2
3
4
moddata <- get_model_data()

equivtest(truth_trajectory_models[["main2"]], moddata,
          main_effect = TRUE)

truthiness documentation built on May 24, 2021, 9:07 a.m.