Learn R Programming

truthiness (version 1.2.5)

run_equiv: Fit CLMM and Run Equivalence Test

Description

Fit CLMM and Run Equivalence Test

Usage

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).

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.

Details

This function is intended to be used in data simulation.

Examples

Run this code
# NOT RUN {
set.seed(62)
dat <- gen_data(24)
# }
# NOT RUN {
run_equiv(dat, main_effect = TRUE)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab