run_equiv: Fit CLMM and Run Equivalence Test

Description Usage Arguments Details Value Examples

View source: R/fit.R

Description

Fit CLMM and Run Equivalence Test

Usage

1
run_equiv(.data, main_effect = FALSE, delta = 0.14)

Arguments

.data

Data frame, with the format as resulting from a call to gen_data.

main_effect

Whether to test the main effect of repetition (TRUE) or the repetition-by-interval interaction (FALSE; the default).

delta

Smallest (raw) effect size of interest (log odds scale).

Details

This function is intended to be used in data simulation.

Value

A vector with p-values; the element(s) named simple provide p-values for simple effects; the element(s) named equiv provides the p-value for the corresponding equivalence test.

Examples

1
2
3
set.seed(62)
dat <- gen_data(24)
run_equiv(dat, main_effect = TRUE)

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