An R package for teaching statistics from a modeling perspective
supernova-vctrs
from exportsR3.4 Compatibility
There are four new pairwise comparisons functions:
pairwise()
pairwise_t()
pairwise_bonferroni()
pairwise_tukey()
Each of these determines all the pairwise comparisons that can be made for a model (fit by lm()
) and then computes the comparisons. For pairwise_t()
no correction is made for multiple comparisons, but for the others, the named correction is made. These corrections can also be specified as arguments to the pairwise()
wrapper function. Each function produces output that has customized printing, supports most (if not all) normal data frame actions, and a plotting function that graphs the mean differences and their confidence intervals.
lme4
is moved to Suggests. Models implementing lmerMod
are handled via supernova.lmerMod
and variables.lmerMod
but use of the lme4
package is limited to tests.variables()
using the new formula utility functions added. See ?formula_building
, ?formula_expansion
, and ?formula_extraction
.equation()
to extract the fitted equation from a linear model (lm()
) (thanks for the suggestion from @ave-63!)Extend supernova to handle within (crossed) designs
lme4
and dplyr
to Importssupernova
to S3 class with methods for lm
and lmerMod
supernova()
for crossed (but not nested) lmer()
fitsprint.supernova
to handle new models