
Last chance! 50% off unlimited learning
Sale ends in
If the parameter n
is an integer, the distribution is constructed
with a zeroed support of size n
. If n
is a vector of integer
values, the sequence is treated as the underlying support. On the other hand,
if n
is a vector of floating point values, it is treated as a
probability distribution and must sum to unity. Note, if a probability
distribution is given as the underlying support, it will first be converted
to a histogram with a precision of 9 significant figures.
Dist(n)
Vector or matrix specifying one or more time series.
An initialized object of class Dist.
# NOT RUN {
Dist(5)
Dist(c(0, 0, 3, 5, 1))
Dist(c(0.0, 0.1, 0.25, 0.25, 0.4))
# }
Run the code above in your browser using DataLab