Math
method now applies to finite distributions.Ops
methods are now available for arithmetic operations (+
, -
, *
, and /
) on a single distribution, along with the verbs shift()
, multiply()
, invert()
, and flip()
.graft_left()
and graft_right()
are fully functional, and slice_left()
and slice_right()
are now also available.get_
prefix has been removed from distributional quantities. get_mean()
is now mean()
, etc.get_
prefix still holds for distributional representations, like get_cdf()
.distribution()
instead of dst()
, and checked with is_distribution()
.This patch both fixes some problems in the previous release, as well as offering a step towards a bigger expansion.
enframe
suite of functions.set_
suite of functions, after making an empty distribution with dst()
.Additionally, there’s some internal rearrangement, where the get
functions call the eval
functions, not vice versa.
The first version of distplyr
is now available! Its functionality is rather limited at the moment, but is still useful, especially for its capability to handle a discrete component of a distribution. Here are the main features:
Take a look at the “Vision” vignette to get a sense of where this package is headed.