fitdistrplus/ 0000755 0001762 0000144 00000000000 14421764232 013013 5 ustar ligges users fitdistrplus/NAMESPACE 0000644 0001762 0000144 00000004223 14102173474 014231 0 ustar ligges users ### Imports
import(stats)
importFrom("survival", Surv, survfit)
importFrom("MASS", kde2d)
importFrom("grDevices", colorRampPalette, terrain.colors)
importFrom("graphics", abline, axis, hist, hist.default, legend, lines, par, plot, points, polygon, contour, layout, matlines, segments, stripchart, image, pairs, rect, text)
importFrom("utils", head, stack, modifyList, tail)
importFrom("methods", formalArgs)
### Exports
#fitdist class
export(fitdist)
S3method(summary, fitdist)
S3method(plot, fitdist)
S3method(print, fitdist)
S3method(print, summary.fitdist)
S3method(print, quantile.fitdist)
S3method(print, gofstat.fitdist)
S3method(quantile, fitdist)
S3method(logLik, fitdist)
S3method(vcov, fitdist)
S3method(coef, fitdist)
#fitditscens class
export(fitdistcens)
S3method(summary, fitdistcens)
S3method(plot, fitdistcens)
S3method(print, fitdistcens)
S3method(print, summary.fitdistcens)
S3method(print, quantile.fitdistcens)
S3method(quantile, fitdistcens)
S3method(logLik, fitdistcens)
S3method(vcov, fitdistcens)
S3method(coef, fitdistcens)
export(Surv2fitdistcens)
#bootdist class
export(bootdist)
export(CIcdfplot)
S3method(summary, bootdist)
S3method(plot, bootdist)
S3method(print, bootdist)
S3method(print, summary.bootdist)
S3method(print, quantile.bootdist)
S3method(quantile, bootdist)
#bootdistcens class
export(bootdistcens)
S3method(summary, bootdistcens)
S3method(plot, bootdistcens)
S3method(print, bootdistcens)
S3method(print, summary.bootdistcens)
S3method(print, quantile.bootdistcens)
S3method(quantile, bootdistcens)
#descdist class
export(descdist)
S3method(print, descdist)
#new generic functions [to be removed]
#export(loglik)
#S3method(loglik, default)
#dedicated fit functions
export(mledist, mmedist, qmedist, mgedist, msedist)
export(detectbound, prefit)
#plot functions
export(plotdist, plotdistcens)
export(llplot, llsurface, llcurve)
#graphical comparison
export(cdfcomp, denscomp, qqcomp, ppcomp)
export(cdfcompcens, qqcompcens, ppcompcens)
#quantile functions [to be removed]
#export(quantiledist)
#export(quantiledistcens)
#other functions
export(gofstat)
### use dynamic library for C code
#useDynLib(fitdistrplus, .registration = TRUE)
fitdistrplus/README.md 0000644 0001762 0000144 00000005077 14415271463 014305 0 ustar ligges users # Help to Fit of a Parametric Distribution to Non-Censored or Censored Data
[](https://cran.r-project.org/package=fitdistrplus)
[](https://cran.r-project.org/package=fitdistrplus)
[](https://github.com/aursiber/fitdistrplus/actions)
`fitdistrplus` extends the `fitdistr()` function (of the `MASS` package) with several functions to help the fit of a parametric distribution to non-censored or censored data. Censored data may contain left censored, right censored and interval censored values, with several lower and upper bounds. In addition to maximum likelihood estimation (MLE), the package provides moment matching (MME), quantile matching (QME) and maximum goodness-of-fit estimation (MGE) methods (available only for non-censored data). Weighted versions of MLE, MME and QME are available.
## The package
The stable version of `fitdistrplus` can be installed from CRAN using:
```r
install.packages("fitdistrplus")
```
The development version of `fitdistrplus` can be installed from GitHub (`remotes` needed):
```r
if (!requireNamespace("remotes", quietly = TRUE))
install.packages("remotes")
remotes::install_github("aursiber/fitdistrplus")
```
Finally load the package in your current R session with the following R command:
```r
library(fitdistrplus)
```
## Documentation
Three **vignettes** are attached to the `fitdistrplus` package:
- Overview of the fitdistrplus package
- Which optimization algorithm to choose?
- Frequently Asked Questions
## Authors & Contacts
Issues can be reported on https://github.com/aursiber/fitdistrplus/issues.
- Marie-Laure Delignette-Muller: marielaure.delignettemuller@vetagro-sup.fr
- Christophe Dutang: dutangc@gmail.com
- Aurélie Siberchicot: aurelie.siberchicot@univ-lyon1.fr
## Citation
If you use `fitdistrplus`, you should cite:
Marie Laure Delignette-Muller, Christophe Dutang (2015).
*fitdistrplus: An R Package for Fitting Distributions.*
Journal of Statistical Software.
https://www.jstatsoft.org/article/view/v064i04
DOI 10.18637/jss.v064.i04.
fitdistrplus/data/ 0000755 0001762 0000144 00000000000 14067302651 013723 5 ustar ligges users fitdistrplus/data/salinity.rda 0000644 0001762 0000144 00000000574 13742313702 016253 0 ustar ligges users r0b```b`gd`b2Y#'(N,d``c`0 H6@h=4q ` ӸCW9fi+I(mj-TFAiM;6`- wq?vnw(wB
}`u.Bђ$h`5 ӉCjђhJⰗMLG:g &"B4<,}AN}8-:`a/N8Aw{2aʇ3\`^z==3b#hXy\1F&GXsSPedIM+)(L(AY_ rX3&ȕXVa SAٙ fitdistrplus/data/dataFAQscale2.rda 0000644 0001762 0000144 00000000366 13742313702 016751 0 ustar ligges users r0b```b`fba`b2Y#'MI,Its,NNI5
~Ws z`:3 }ͭMa
q(Hl 7fuѷd B@x0D?{ K,^ Y> ѿ*2@7<by~)HOC@F0D{{} 7 j fitdistrplus/data/danishmulti.rda 0000644 0001762 0000144 00000120564 13742313702 016742 0 ustar ligges users u\UO?% !XXnVnElEA.C7
*'6?bs:m>+ q
у>A)yE z`|q^k1>z` OhW<1xb~6 >W<7zbA7O8hAC<1xs6O7o<߷6|'<1xzӛA̻
|R*br8A7B1l҈\[ACT %W|~A\ϸbrukV:W|yVpsp[Qĸq_D\/:I\1r/\1ιrp";WsK9q1Ws8y+ebjy+E