Skip to content

Releases: xoopR/distr6

distr6 1.5.5

14 Jul 13:09
48caf25
Compare
Choose a tag to compare
Merge pull request #253 from alan-turing-institute/fix_rbuildignore

update buildignore

distr6 1.5.4

14 Jul 10:44
84ae59c
Compare
Choose a tag to compare
Merge pull request #252 from alan-turing-institute/as_distribution

add as.Distribution.matrix

distr6 1.5.3

13 Jul 20:37
7967cb1
Compare
Choose a tag to compare
Merge pull request #247 from alan-turing-institute/1.5.2.9000

1.5.3

distr6 1.5.2

16 Apr 20:51
7efc92b
Compare
Choose a tag to compare
v1.5.2

Update make-release.yml

distr6 1.5.1

16 Feb 10:15
b11cc56
Compare
Choose a tag to compare
v1.5.1

Create make-release.yml

distr6 1.5.0

16 Feb 09:30
Compare
Choose a tag to compare

Minor Updates

Added Functionality

  • Added length.VectorDistribution
  • Added ids parameter to VectorDistribution to allow specifying names for wrapped distributions. Extended extract.VectorDistribution so these ids can be used for extraction.
  • Added sugar function dstr to construct distributions more easily, e.g. dstr("Binom", size = 4) instead of Binomial$new(size = 4).
  • Added sugar function dstrs to construct a VectorDistribution of distributions.
  • ParameterSet method setParameterValue now includes resolveConflicts parameter for resolving conflicts between conflicting parameters (see below). This should primarily only be used internally and is useful for transforming composite distributions.

Edited Functionality

  • The separator for composite (wrapped) distributions is now __ (before _). This may affect backwards compatibility in rare cases.
  • Construction and setting of parameters is now changed. Previously this relied on knowing a confusing hierarchy in parameters which would take priority over one another. Now if conflicting parameters are supplied in construction or on setting an error is returned, e.g. Binomial$new(prob = 0.1, qprob = 0.2) would cause an error. This may affect bacwards compatibility however should not do so if distributions are correctly constructed/updated without conflicts.
  • setParameterValue in ParameterSet no longer errors if a non-settable parameter is updated, instead a warning is given and the parameter is ignored.
  • Multivariate distributions no longer error if constructed with a single variate, though this is still advised against.
  • Internal changes to how SDistribution parameter defaults are set. Previously these were set in the constructor with function defaults, now they are set in the ParameterSet. This should not affect backwards compatibility. This should improve speed of distribution construction.

Deprecated/Removed Functionality

  • Data parameter in WeightedDiscrete distribution has now been removed.

Bug fixes/Under the Hood Edits

  • Minor bug fixes in some distribution properties.
  • MixtureDistribution now uses extraDistr::rmnom for speed improvements.
  • Slight improvement to error messages in ParameterSet but these will be improved further in a future update.
  • Minor internal changes to storage method of SDistribution ParameterSet objects.
  • Fixed typos in parameter sets

Documentation

  • Documentation for SDistribution objects has been restructured for easier reading, the distribution default is now included.
  • Fixed typos

distr6 1.4.8

12 Dec 16:00
Compare
Choose a tag to compare
  • Fixes for R devel

distr6 1.4.7

17 Nov 21:49
Compare
Choose a tag to compare
  • Patch for set6
  • Add rep.Distribution for replicating distributions into vectors, mixtures, or products
  • Kernels can now be used with vectors/mixtures/products

distr6 1.4.6

02 Nov 08:31
Compare
Choose a tag to compare
  • Patch for solaris

distr6 1.4.5

30 Oct 13:34
Compare
Choose a tag to compare
  • Added cdfSquared2Norm analytic methods to most kernels
  • Minor internal patches