Package: distr6 1.8.4

distr6: The Complete R6 Probability Distributions Interface

An R6 object oriented distributions package. Unified interface for 42 probability distributions and 11 kernels including functionality for multiple scientific types. Additionally functionality for composite distributions and numerical imputation. Design patterns including wrappers and decorators are described in Gamma et al. (1994, ISBN:0-201-63361-2). For quick reference of probability distributions including d/p/q/r functions and results we refer to McLaughlin, M. P. (2001). Additionally Devroye (1986, ISBN:0-387-96305-7) for sampling the Dirichlet distribution, Gentle (2009) <doi:10.1007/978-0-387-98144-4> for sampling the Multivariate Normal distribution and Michael et al. (1976) <doi:10.2307/2683801> for sampling the Wald distribution.

Authors:Raphael Sonabend [aut, cre], Franz Kiraly [aut], Peter Ruckdeschel [ctb], Matthias Kohl [ctb], Nurul Ain Toha [ctb], Shen Chen [ctb], Jordan Deenichin [ctb], Chengyang Gao [ctb], Chloe Zhaoyuan Gu [ctb], Yunjie He [ctb], Xiaowen Huang [ctb], Shuhan Liu [ctb], Runlong Yu [ctb], Chijing Zeng [ctb], Qian Zhou [ctb], Michal Lauer [ctb], John Zobolas [ctb]

distr6_1.8.4.tar.gz
distr6_1.8.4.zip(r-4.5)distr6_1.8.4.zip(r-4.4)distr6_1.8.4.zip(r-4.3)
distr6_1.8.4.tgz(r-4.4-arm64)distr6_1.8.4.tgz(r-4.4-x86_64)distr6_1.8.4.tgz(r-4.3-arm64)distr6_1.8.4.tgz(r-4.3-x86_64)
distr6_1.8.4.tar.gz(r-4.5-noble)distr6_1.8.4.tar.gz(r-4.4-noble)
distr6_1.8.4.tgz(r-4.4-emscripten)distr6_1.8.4.tgz(r-4.3-emscripten)
distr6.pdf |distr6.html
distr6/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/xoopr/distr6/issues

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

On CRAN:

149 exports 99 stars 4.44 score 9 dependencies 1 dependents 331 downloads

Last updated 7 days agofrom:a642cd312c

Exports:ArcsineArrdistas.Distributionas.MixtureDistributionas.ProductDistributionas.VectorDistributionassertContinuousassertDiscreteassertDistributionassertDistributionListassertLeptokurticassertMatrixvariateassertMesokurticassertMixtureassertMultivariateassertNegativeSkewassertNoSkewassertParameterSetassertParameterSetListassertPlatykurticassertPositiveSkewassertSymmetricassertUnivariateBernoulliBetaBetaNoncentralBinomialCategoricalCauchycheckContinuouscheckDiscretecheckDistributioncheckDistributionListcheckLeptokurticcheckMatrixvariatecheckMesokurticcheckMixturecheckMultivariatecheckNegativeSkewcheckNoSkewcheckParameterSetcheckParameterSetListcheckPlatykurticcheckPositiveSkewcheckSymmetriccheckUnivariateChiSquaredChiSquaredNoncentralConvolutionCoreStatisticsCosinedecorateDegenerateDirichletDiscreteUniformdistr6NewsDistributionDistributionDecoratorDistributionWrapperdistrSimulatedparsedstrdstrsEmpiricalEmpiricalMVEpanechnikovErlangexkurtosisTypeExoticStatisticsExponentialFDistributionFDistributionNoncentralFrechetFunctionImputationGammageneralPNormGeometricGompertzgprmGumbelhuberizeHuberizedDistributionHypergeometricInverseGammaKernelLaplacelistDecoratorslistDistributionslistKernelslistWrappersLogarithmicLogisticLogisticKernelLoglogisticLognormalmakeUniqueDistributionsMatdistmixMatrixMixtureDistributionmixturiseVectorMultinomialMultivariateNormalNegativeBinomialNormalNormalKernelParetoPoissonProductDistributionqqplotQuarticRayleighSDistributionShiftedLoglogisticSigmoidSilvermansimulateEmpiricalDistributionskewTypesprmStudentTStudentTNoncentraltestContinuoustestDiscretetestDistributiontestDistributionListtestLeptokurtictestMatrixvariatetestMesokurtictestMixturetestMultivariatetestNegativeSkewtestNoSkewtestParameterSettestParameterSetListtestPlatykurtictestPositiveSkewtestSymmetrictestUnivariateTriangularTriangularKernelTricubeTriweighttruncateTruncatedDistributionUniformUniformKernelVectorDistributionWaldWeibullWeightedDiscrete

Dependencies:backportscheckmatedata.tabledictionar6ooplahparam6R6Rcppset6

distr6

Rendered fromdistr6.rmdusingknitr::rmarkdownon Jul 08 2024.

Last update: 2024-02-23
Started: 2019-05-20

Readme and manuals

Help Manual

Help pageTopics
distr6: Object Oriented Distributions in Rdistr6-package distr6
Extract one or more Distributions from an Array distribution[.Arrdist
Extract one or more Distributions from a Matdist[.Matdist
Extract one or more Distributions from a VectorDistribution[.VectorDistribution
Arcsine Distribution ClassArcsine
Arrdist Distribution ClassArrdist
Coerce matrix to vector of WeightedDiscrete or Matrix Distributionas.Distribution as.Distribution.array as.Distribution.matrix
Coercion to Mixture Distributionas.MixtureDistribution
Coercion to Product Distributionas.ProductDistribution
Coercion to Vector Distributionas.VectorDistribution
Bernoulli Distribution ClassBernoulli
Beta Distribution ClassBeta
Noncentral Beta Distribution ClassBetaNoncentral
Binomial Distribution ClassBinomial
Combine Array Distributions into a Arrdistc.Arrdist
Combine Distributions into a VectorDistributionc.Distribution
Combine Matrix Distributions into a Matdistc.Matdist
Categorical Distribution ClassCategorical
Cauchy Distribution ClassCauchy
Chi-Squared Distribution ClassChiSquared
Noncentral Chi-Squared Distribution ClassChiSquaredNoncentral
Distribution Convolution Wrapper+.Distribution -.Distribution Convolution
Core Statistical Methods DecoratorCoreStatistics
Cosine KernelCosine
Decorate Distributionsdecorate
Degenerate Distribution ClassDegenerate Delta Dirac
Dirichlet Distribution ClassDirichlet
Discrete Uniform Distribution ClassDiscreteUniform
Show distr6 NEWS.md Filedistr6News
Generalised Distribution ObjectDistribution
Abstract DistributionDecorator ClassDistributionDecorator
Abstract DistributionWrapper ClassDistributionWrapper
Simulate from a DistributiondistrSimulate
Parse Distributions Represented as Stringsdparse
Helper Functionality for Constructing Distributionsdstr dstrs
Empirical Distribution ClassEmpirical
EmpiricalMV Distribution ClassEmpiricalMV
Epanechnikov KernelEpanechnikov
Erlang Distribution ClassErlang
Kurtosis TypeexkurtosisType
Exotic Statistical Methods DecoratorExoticStatistics
Exponential Distribution ClassExponential
'F' Distribution ClassFDistribution
Noncentral F Distribution ClassFDistributionNoncentral
Frechet Distribution ClassFrechet InverseWeibull
Imputed Pdf/Cdf/Quantile/Rand Functions DecoratorFunctionImputation
Gamma Distribution ClassGamma
Generalised P-NormgeneralPNorm
Geometric Distribution ClassGeometric
Gompertz Distribution ClassGompertz
Helper Functionality for Getting and Setting Distribution Parametersgprm sprm
Gumbel Distribution ClassGumbel
Huberize a Distributionhuberize
Distribution Huberization WrapperHuberizedDistribution
Hypergeometric Distribution ClassHypergeometric
Inverse Gamma Distribution ClassInverseGamma
Abstract Kernel ClassKernel
Laplace Distribution ClassLaplace
Get Number of Distributions in Vector Distributionlength.VectorDistribution
Superimpose Distribution Functions Plots for a distr6 Objectlines.Distribution
Lists Implemented Distribution DecoratorslistDecorators
Lists Implemented DistributionslistDistributions
Lists Implemented KernelslistKernels
Lists Implemented Distribution WrapperslistWrappers
Logarithmic Distribution ClassLogarithmic
Logistic Distribution ClassLogistic
Logistic KernelLogisticKernel
Log-Logistic Distribution ClassFisk Loglogistic
Log-Normal Distribution ClassLoggaussian Lognormal
De-Duplicate Distribution NamesmakeUniqueDistributions
Matdist Distribution ClassMatdist
Mix Matrix Distributions into a new MatdistmixMatrix
Mixture Distribution WrapperMixtureDistribution
Create Mixture Distribution From Multiple VectorsmixturiseVector
Multinomial Distribution ClassMultinomial
Multivariate Normal Distribution ClassMultivariateNormal
Negative Binomial Distribution ClassNegativeBinomial
Normal Distribution ClassGaussian Normal
Normal KernelNormalKernel
Pareto Distribution ClassPareto
Plot Distribution Functions for a distr6 Objectplot.Distribution
Plotting Distribution Functions for a Matrix Distributionplot.Matdist
Plotting Distribution Functions for a VectorDistributionplot.VectorDistribution
Poisson Distribution ClassPoisson
Product Distribution Wrapper*.Distribution ProductDistribution
Quantile-Quantile Plots for distr6 Objectsqqplot
Quartic KernelQuartic
Rayleigh Distribution ClassRayleigh
Replicate Distribution into Vector, Mixture, or Productrep.Distribution
Abstract Special Distribution ClassSDistribution
Shifted Log-Logistic Distribution ClassShiftedLoglogistic
Sigmoid KernelSigmoid
Silverman KernelSilverman
Sample Empirical Distribution Without ReplacementsimulateEmpiricalDistribution
Skewness TypeskewType
Student's T Distribution ClassStudentT
Noncentral Student's T Distribution ClassStudentTNoncentral
assert/check/test/ContinuousassertContinuous checkContinuous testContinuous
assert/check/test/DiscreteassertDiscrete checkDiscrete testDiscrete
assert/check/test/DistributionassertDistribution checkDistribution testDistribution
assert/check/test/DistributionListassertDistributionList checkDistributionList testDistributionList
assert/check/test/LeptokurticassertLeptokurtic checkLeptokurtic testLeptokurtic
assert/check/test/MatrixvariateassertMatrixvariate checkMatrixvariate testMatrixvariate
assert/check/test/MesokurticassertMesokurtic checkMesokurtic testMesokurtic
assert/check/test/MixtureassertMixture checkMixture testMixture
assert/check/test/MultivariateassertMultivariate checkMultivariate testMultivariate
assert/check/test/NegativeSkewassertNegativeSkew checkNegativeSkew testNegativeSkew
assert/check/test/NoSkewassertNoSkew checkNoSkew testNoSkew
assert/check/test/ParameterSetassertParameterSet checkParameterSet testParameterSet
assert/check/test/ParameterSetListassertParameterSetList checkParameterSetList testParameterSetList
assert/check/test/PlatykurticassertPlatykurtic checkPlatykurtic testPlatykurtic
assert/check/test/PositiveSkewassertPositiveSkew checkPositiveSkew testPositiveSkew
assert/check/test/SymmetricassertSymmetric checkSymmetric testSymmetric
assert/check/test/UnivariateassertUnivariate checkUnivariate testUnivariate
Triangular Distribution ClassSymmetricTriangular Triangular
Triangular KernelTriangularKernel
Tricube KernelTricube
Triweight KernelTriweight
Truncate a Distributiontruncate
Distribution Truncation WrapperTruncatedDistribution
Uniform Distribution ClassUniform
Uniform KernelUniformKernel
Vectorise DistributionsVectorDistribution
Wald Distribution ClassInverseGaussian InverseNormal Wald
Weibull Distribution ClassWeibull
WeightedDiscrete Distribution ClassWeightedDiscrete