Releases: xoopR/distr6
Releases · xoopR/distr6
distr6 1.5.5
Merge pull request #253 from alan-turing-institute/fix_rbuildignore update buildignore
distr6 1.5.4
Merge pull request #252 from alan-turing-institute/as_distribution add as.Distribution.matrix
distr6 1.5.3
Merge pull request #247 from alan-turing-institute/1.5.2.9000 1.5.3
distr6 1.5.2
v1.5.2 Update make-release.yml
distr6 1.5.1
v1.5.1 Create make-release.yml
distr6 1.5.0
Minor Updates
Added Functionality
- Added
length.VectorDistribution
- Added
ids
parameter toVectorDistribution
to allow specifying names for wrapped distributions. Extendedextract.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 ofBinomial$new(size = 4)
. - Added sugar function
dstrs
to construct aVectorDistribution
of distributions. ParameterSet
methodsetParameterValue
now includesresolveConflicts
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
inParameterSet
no longer errors if a non-settable parameter is updated, instead awarning
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 theParameterSet
. 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 usesextraDistr::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
- Fixes for R devel
distr6 1.4.7
- 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
- Patch for solaris
distr6 1.4.5
- Added
cdfSquared2Norm
analytic methods to most kernels - Minor internal patches