Common Utilities for Other MOSAIC-Family Packages

Common utilities used in other MOSAIC-family packages are collected here.


Utilities needed for other mosaic-family packages

News

mosaicCore 0.5

  • breaking change: Naming conventions for prop() and df_stats() have been adjusted somewhat. While this has the potential to break old code that relied on the names, the new system is clearer, supports a wider range of applications, and fixes a bug.

  • A counts() method for factors has been added. This method includes counts of 0 for levels that do not occur.

  • Formulas in df_stats() are preprosessed so that I() is now seldom (if ever) needed when doing on-the-fly calculations.

  • Added n_not_missing() and n_total() similar to n_missing().

  • Added ci.mean(), ci.median(), ci.prop(), and ci.sd() for computing confidence intervals.

mosaicCore 0.4.2

  • Add fit_distr_fun() which fits distribtuions using MASS::fitdistr() but returns a function (density, cdf, quantile, or random sampling) instead of just the parameters of the fit.

mosaicCore 0.4.0

  • Additional functions from mosaic have been moved here.

  • Improvements to df_stats() to handle a wider range of stat functions.

mosaicCore 0.2.0

  • Some functions from mosaic and ggformula have been moved here to support a better dependency structure among the Project MOSAIC packages. This package is unlikely to be needed in isolation, but functions from this package will be imported into the other packages as needed. Some will also be re-exported.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("mosaicCore")

0.6.0 by Randall Pruim, 7 months ago


https://github.com/ProjectMOSAIC/mosaicCore


Report a bug at https://github.com/ProjectMOSAIC/mosaicCore/issues


Browse source code at https://github.com/cran/mosaicCore


Authors: Randall Pruim <[email protected]> , Daniel T. Kaplan <[email protected]> , Nicholas J. Horton <[email protected]>


Documentation:   PDF Manual  


GPL (>= 2) license


Imports stats, dplyr, lazyeval, rlang, tidyr, MASS

Suggests mosaicData, mosaic, ggformula, NHANES, testthat


Imported by ggformula, mosaic.

Depended on by mosaicCalc, mosaicModel.


See at CRAN