R version 4.2.1 (2022-06-23) -- "Funny-Looking Kid" Copyright (C) 2022 The R Foundation for Statistical Computing Platform: aarch64-apple-darwin20 (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(afex) Loading required package: lme4 Loading required package: Matrix ************ Welcome to afex. For support visit: http://afex.singmann.science/ - Functions for ANOVAs: aov_car(), aov_ez(), and aov_4() - Methods for calculating p-values with mixed(): 'S', 'KR', 'LRT', and 'PB' - 'afex_aov' and 'mixed' objects can be passed to emmeans() for follow-up tests - NEWS: emmeans() for ANOVA models now uses model = 'multivariate' as default. - Get and set global package options with: afex_options() - Set orthogonal sum-to-zero contrasts globally: set_sum_contrasts() - For example analyses see: browseVignettes("afex") ************ Attaching package: 'afex' The following object is masked from 'package:lme4': lmer > > test_check("afex") Mixed Model Anova Table (Type 3 tests, S-method) Model: value ~ treatment + (1 | id) Data: obk.long Effect df F p.value 1 treatment 2, 13.00 2.91 + .090 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '+' 0.1 ' ' 1 Mixed Model Anova Table (Type 3 tests, S-method) Model: value ~ treatment + phase + (1 | id) Data: obk.long Effect df F p.value 1 treatment 2, 13.00 2.91 + .090 2 phase 2, 222.00 38.48 *** <.001 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '+' 0.1 ' ' 1 Mixed Model Anova Table (Type 3 tests, LRT-method) Model: value ~ treatment + (1 | id) Data: obk.long Df full model: 5 Effect df Chisq p.value 1 treatment 2 5.93 + .052 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '+' 0.1 ' ' 1 Mixed Model Anova Table (Type 3 tests, LRT-method) Model: value ~ treatment + phase + (1 | id) Data: obk.long Df full model: 7 Effect df Chisq p.value 1 treatment 2 5.93 + .052 2 phase 2 66.67 *** <.001 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '+' 0.1 ' ' 1 Mixed Model Anova Table (Type 3 tests, PB-method) Model: use ~ urban + (1 | district) Data: Contraception Effect df Chisq p.value 1 urban 1 31.28 .333 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '+' 0.1 ' ' 1 Mixed Model Anova Table (Type 3 tests, PB-method) Model: use ~ urban + livch + (1 | district) Data: Contraception Effect df Chisq p.value 1 urban 1 36.33 .333 2 livch 3 77.91 .333 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '+' 0.1 ' ' 1 [ FAIL 0 | WARN 0 | SKIP 18 | PASS 381 ] ══ Skipped tests ═══════════════════════════════════════════════════════════════ • On CRAN (17) • empty test (1) [ FAIL 0 | WARN 0 | SKIP 18 | PASS 381 ] > > proc.time() user system elapsed 18.857 0.354 20.025