The various R packages produced by the MOSAIC team.
The following packages are part of the “mosaic suite”. All are available on CRAN and maintained on GitHub.
{mosaicCore}
Contains helper functions. Automatically
installed when {mosaic}
is installed from CRAN.{mosaicCalc}
– Completely updated in 2022 to provide better symbolic capabilities
while retaining the ease of use of the formula interface. The vignettes
give a good introduction to the package. See the Mosaic
Calculus textbook for many more examples.
{ggformula}
provides a formula-based interface to the popular ggplot2
graphics system. Some advantages:
%>%
or the
newer |>
) instead of the ideosyncratic +
of
ggplot2
.Galton |> gf_point(height ~ mother)
compared to
Galton |> ggplot2(aes(x=mother, y=height)) + geom_point()
ggplot2()
and all related
packages.lm()
{LST}
provides support for the textbook Lessons
in Statistical Thinking. {LST}
provides highly
integrated, introductory-level graphics and modeling in the modern
Tidyverse style. Install with
remotes::install_github("dtkaplan/LST")
.
Deprecated: {mosaicModel}
– This package is retained for compatibility with the DataCamp
courses on statistical modeling. Many of the features have been
transferred to the core mosaic packages listed above.