Package: extraDistr 1.10.0

extraDistr: Additional Univariate and Multivariate Distributions

Density, distribution function, quantile function and random generation for a number of univariate and multivariate distributions. This package implements the following distributions: Bernoulli, beta-binomial, beta-negative binomial, beta prime, Bhattacharjee, Birnbaum-Saunders, bivariate normal, bivariate Poisson, categorical, Dirichlet, Dirichlet-multinomial, discrete gamma, discrete Laplace, discrete normal, discrete uniform, discrete Weibull, Frechet, gamma-Poisson, generalized extreme value, Gompertz, generalized Pareto, Gumbel, half-Cauchy, half-normal, half-t, Huber density, inverse chi-squared, inverse-gamma, Kumaraswamy, Laplace, location-scale t, logarithmic, Lomax, multivariate hypergeometric, multinomial, negative hypergeometric, non-standard beta, normal mixture, Poisson mixture, Pareto, power, reparametrized beta, Rayleigh, shifted Gompertz, Skellam, slash, triangular, truncated binomial, truncated normal, truncated Poisson, Tukey lambda, Wald, zero-inflated binomial, zero-inflated negative binomial, zero-inflated Poisson.

Authors:Tymoteusz Wolodzko

extraDistr_1.10.0.tar.gz
extraDistr_1.10.0.zip(r-4.5)extraDistr_1.10.0.zip(r-4.4)extraDistr_1.10.0.zip(r-4.3)
extraDistr_1.10.0.tgz(r-4.4-x86_64)extraDistr_1.10.0.tgz(r-4.4-arm64)extraDistr_1.10.0.tgz(r-4.3-x86_64)extraDistr_1.10.0.tgz(r-4.3-arm64)
extraDistr_1.10.0.tar.gz(r-4.5-noble)extraDistr_1.10.0.tar.gz(r-4.4-noble)
extraDistr_1.10.0.tgz(r-4.4-emscripten)extraDistr_1.10.0.tgz(r-4.3-emscripten)
extraDistr.pdf |extraDistr.html
extraDistr/json (API)
NEWS

# Install 'extraDistr' in R:
install.packages('extraDistr', repos = c('https://twolodzko.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/twolodzko/extradistr/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

c-plus-plusc-plus-plus-11distributionmultivariate-distributionsprobabilityrandom-generationrcppstatistics

11.69 score 51 stars 102 packages 1.3k scripts 20k downloads 194 exports 1 dependencies

Last updated 2 months agofrom:ec772c7519. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 09 2024
R-4.5-win-x86_64OKNov 09 2024
R-4.5-linux-x86_64OKNov 09 2024
R-4.4-win-x86_64OKNov 09 2024
R-4.4-mac-x86_64OKNov 09 2024
R-4.4-mac-aarch64OKNov 09 2024
R-4.3-win-x86_64OKNov 09 2024
R-4.3-mac-x86_64OKNov 09 2024
R-4.3-mac-aarch64OKNov 09 2024

Exports:dbbinomdberndbetaprdbhattdbnbinomdbvnormdbvpoisdcatddgammaddirichletddirmnomddlaplaceddnormddunifddweibulldfatiguedfrechetdgevdgompertzdgpddgpoisdgumbeldhcauchydhnormdhtdhuberdinvchisqdinvgammadkumardlaplacedlgserdlomaxdlstdmixnormdmixpoisdmnomdmvhyperdnhyperdnsbetadparetodpowerdpropdrayleighdsgompdskellamdslashdtbinomdtnormdtpoisdtriangdwalddzibdzinbdzippbbinompbernpbetaprpbhattpbnbinompcatpdgammapdlaplacepdnormpdunifpdweibullpfatiguepfrechetpgevpgompertzpgpdpgpoispgumbelphcauchyphnormphtphuberpinvchisqpinvgammapkumarplaplaceplgserplomaxplstpmixnormpmixpoispnhyperpnsbetapparetoppowerppropprayleighpsgomppslashptbinomptnormptpoisptriangpwaldpzibpzinbpzipqbernqbetaprqcatqdunifqdweibullqfatigueqfrechetqgevqgompertzqgpdqgumbelqhcauchyqhnormqhtqhuberqinvchisqqinvgammaqkumarqlaplaceqlgserqlomaxqlstqnhyperqnsbetaqparetoqpowerqpropqrayleighqtbinomqtlambdaqtnormqtpoisqtriangqzibqzinbqziprbbinomrbernrbetaprrbhattrbnbinomrbvnormrbvpoisrcatrcatlprdgammardirichletrdirmnomrdlaplacerdnormrdunifrdweibullrfatiguerfrechetrgevrgompertzrgpdrgpoisrgumbelrhcauchyrhnormrhtrhuberrinvchisqrinvgammarkumarrlaplacerlgserrlomaxrlstrmixnormrmixpoisrmnomrmvhyperrnhyperrnsbetarparetorpowerrproprrayleighrsgomprsignrskellamrslashrtbinomrtlambdartnormrtpoisrtriangrwaldrzibrzinbrzip

Dependencies:Rcpp

Readme and manuals

Help Manual

Help pageTopics
Bernoulli distributionBernoulli dbern pbern qbern rbern
Beta-binomial distributionBetaBinom dbbinom pbbinom rbbinom
Beta-negative binomial distributionBetaNegBinom dbnbinom pbnbinom rbnbinom
Beta prime distributionBetaPrime dbetapr pbetapr qbetapr rbetapr
Bhattacharjee distributionBhattacharjee dbhatt pbhatt rbhatt
Birnbaum-Saunders (fatigue life) distributionBirnbaumSaunders dfatigue pfatigue qfatigue rfatigue
Bivariate normal distributionBivNormal dbvnorm rbvnorm
Bivariate Poisson distributionBivPoiss dbvpois rbvpois
Categorical distributionCategorical dcat pcat qcat rcat rcatlp
Dirichlet distributionddirichlet Dirichlet rdirichlet
Dirichlet-multinomial (multivariate Polya) distributionddirmnom DirMnom rdirmnom
Discrete gamma distributionddgamma DiscreteGamma pdgamma rdgamma
Discrete Laplace distributionddlaplace DiscreteLaplace pdlaplace rdlaplace
Discrete normal distributionddnorm DiscreteNormal pdnorm rdnorm
Discrete uniform distributionddunif DiscreteUniform pdunif qdunif rdunif
Discrete Weibull distribution (type I)ddweibull DiscreteWeibull pdweibull qdweibull rdweibull
Frechet distributiondfrechet Frechet pfrechet qfrechet rfrechet
Gamma-Poisson distributiondgpois GammaPoiss pgpois rgpois
Generalized extreme value distributiondgev GEV pgev qgev rgev
Gompertz distributiondgompertz Gompertz pgompertz qgompertz rgompertz
Generalized Pareto distributiondgpd GPD pgpd qgpd rgpd
Gumbel distributiondgumbel Gumbel pgumbel qgumbel rgumbel
Half-Cauchy distributiondhcauchy HalfCauchy phcauchy qhcauchy rhcauchy
Half-normal distributiondhnorm HalfNormal phnorm qhnorm rhnorm
Half-t distributiondht HalfT pht qht rht
"Huber density" distributiondhuber Huber phuber qhuber rhuber
Inverse chi-squared and scaled chi-squared distributionsdinvchisq InvChiSq pinvchisq qinvchisq rinvchisq
Inverse-gamma distributiondinvgamma InvGamma pinvgamma qinvgamma rinvgamma
Kumaraswamy distributiondkumar Kumaraswamy pkumar qkumar rkumar
Laplace distributiondlaplace Laplace plaplace qlaplace rlaplace
Location-scale version of the t-distributiondlst LocationScaleT plst qlst rlst
Logarithmic series distributiondlgser LogSeries plgser qlgser rlgser
Lomax distributiondlomax Lomax plomax qlomax rlomax
Multivariate hypergeometric distributiondmvhyper MultiHypergeometric rmvhyper
Multinomial distributiondmnom Multinomial rmnom
Negative hypergeometric distributiondnhyper NegHyper pnhyper qnhyper rnhyper
Mixture of normal distributionsdmixnorm NormalMix pmixnorm rmixnorm
Non-standard beta distributiondgbeta dnsbeta NSBeta pnsbeta qnsbeta rnsbeta
Pareto distributiondpareto Pareto ppareto qpareto rpareto
Mixture of Poisson distributionsdmixpois pmixpois PoissonMix rmixpois
Power distributiondpower PowerDist ppower qpower rpower
Beta distribution of proportionsdprop pprop PropBeta qprop rprop
Random generation from Rademacher distributionRademacher rsign
Rayleigh distributiondrayleigh prayleigh qrayleigh Rayleigh rrayleigh
Shifted Gompertz distributiondsgomp psgomp rsgomp ShiftGomp
Skellam distributiondskellam rskellam Skellam
Slash distributiondslash pslash rslash Slash
Triangular distributiondtriang ptriang qtriang rtriang Triangular
Truncated binomial distributiondtbinom ptbinom qtbinom rtbinom TruncBinom
Truncated normal distributiondtnorm ptnorm qtnorm rtnorm TruncNormal
Truncated Poisson distributiondtpois ptpois qtpois rtpois TruncPoisson
Tukey lambda distributionqtlambda rtlambda TukeyLambda
Wald (inverse Gaussian) distributiondwald pwald rwald Wald
Zero-inflated binomial distributiondzib pzib qzib rzib ZIB
Zero-inflated negative binomial distributiondzinb pzinb qzinb rzinb ZINB
Zero-inflated Poisson distributiondzip pzip qzip rzip ZIP