/multiDistFit

Primary LanguageROtherNOASSERTION

multiDistFit

R-CMD-check Codecov test coverage Lifecycle: deprecated Project Status: Abandoned – Initial development has started, but there has not yet been a stable, usable release; the project has been abandoned and the author(s) do not intend on continuing development.

This package is a proof-of-concept and is now deprecated. To use the functionality to fit multiple distribution models see the {quickfit} package as part of the Epiverse initiative.

The goal of multiDistFit is to allow comparison of multiple model comparison when fitting distributions to censorred and non-censorred data. The package is a wrapper to other packages (e.g. {fitdistrplus} and {coarseDataTools}) which carry out the model fitting.

Installation

You can install the development version of multiDistFit from GitHub with:

# install.packages("devtools")
devtools::install_github("joshwlambert/multiDistFit")

Example

This is a basic example which shows you how to solve a common problem:

library(multiDistFit)

## basic example code
multi_fitdist(
  data = rlnorm(n = 100, meanlog = 1, sdlog = 1), 
  models = c("lnorm", "gamma", "weibull")
)