predictor_competition() is retained for backward compatibility. New code
should use predictor_competition2().
predictor_competition(
data,
dependent,
independent1,
independent2,
random.intercept = NULL,
random.slope = 1
)Data frame used for both models.
Name of the dependent variable.
Character vectors naming the fixed-effect terms in the two models.
Optional random-intercept grouping variable.
Random-slope expression; defaults to 1, which specifies
a random-intercept-only model.
The result of predictor_competition2().
data("data_s")
predictor_competition(data_s, "sDur", "pauseBin", "typeOfS")
#> Warning: `predictor_competition()` is deprecated; use `predictor_competition2()`.
#> Lower-AIC predictor set: pauseBin.
#> df AIC
#> model1 3 -484.5026
#> model2 4 -462.1716