Skip to content

Releases: xoopR/distr6

distr6 1.2.0

02 Oct 08:37
e972815
Compare
Choose a tag to compare

distr6 1.2.0

Major Updates

  • None

Minor Updates

Added Functions and Classes

  • Added non-central F, T, Chi-Squared, and Beta distributions
  • Added WeightedDiscrete distribution. This allows users to supply a data.frame of samples and pdf/cdfs for more efficient usage with empirical discrete estimators (e.g. Kaplan-Meier)

Deprecated Functions

  • None

Updated Functions

  • Added the common survival parameterisation of Weibull distribution
  • Updated the listX functions to make them quicker and functional when distr6 is not attached
  • Added suppressMoments argument to Distribution constructor to allow for faster construction

Patches

  • Added errormsg argument to assertions so a custom error message can be provided
  • Fixed error in quantile function in Empirical that was causing results to be dropped
  • Fixed bug in TruncatedDistribution that prevented multivariate distributions being truncated
  • Fixed error in variance of Empirical that was calculating sample not population
  • Moved rare imports to suggests

distr6 1.1.0

28 Aug 07:40
2e252d7
Compare
Choose a tag to compare

Major Updates

  • None

Minor Updates

Added Functions and Classes

  • Empirical distribution for distributions arising from observed samples (e.g. from MC sampling methods)
  • simulateEmpiricalDistribution: function for sampling without replacement from an Empirical distribution

Deprecated Functions

  • ArrayDistribution - This wrapper is now merged with ProductDistribution by adding two new parameters to ProductDistribution that allow for construction either by a distribution list of by naming a distribution and providing a parameter list or data.table

Updated Functions

  • Added quantile to Categorical distribution and updated its cdf efficiency
  • cdf of discrete distributions evaluated between integers are now evaluated after rounding down and do not return 0, e.g. Binomial$new()$cdf(1.8) == Binomial$new()$cdf(1)
  • Added two additional parameters to ProductDistribution: params and distribution, so that it can either function as before or as the ArrayDistribution wrapper which is now deprecated.
  • Added two additional parameters to VectorDistribution: params and distribution, so that it can either function as before or as a generalisation to the ArrayDistribution wrapper which is now deprecated.
  • Removed automated rounding of numerics when ParameterSet expected integer in setParameterValue
  • Added parameter n to strprint and print to clean the print method for distributions (especially wrappers) with multiple parameters
  • Added optional vectordist argument to MixtureDistribution for better compatibility with VectorDistribution
  • Changed short_name of Uniform, Logistic, Normal, and Triangular kernels to remove Kern. The ClassNames (and thus constructors) remain the same
  • listKernels and listSpecialSet now return data.tables with stringsAsFactors = FALSE
  • Degenerate distribution re-classified as discrete

Patches

  • Bug fix in quantile function of huberization wrapper
  • Fixed the rand return of a Vector Distribution (transposed data.table and added column names)
  • Fixed spelling mistakes in extension guidelines and removed calls to redundant parameters
  • Removed redundant crayon dependency
  • Fixed bug in MixtureDistribution that was causing rand to erroneously return integers
  • Removed error in Categorical documentation
  • Fixed bug in multi-modal Categorical distribution
  • summary and print now return self invisibly for better piping

distr6 1.0.0

19 Jul 11:28
Compare
Choose a tag to compare

CRAN Release - commit dd46c92

Initial release onto CRAN, full tutorials for distr6 can be found here. In the future, all releases will reflect news.md and will update on functions added, changed and removed. As well as any other changes made.

Public release - In dev

30 May 15:09
978ac2b
Compare
Choose a tag to compare
Pre-release
Merge pull request #42 from RaphaelS1/release

Release