| discDist-class {tileHMM} | R Documentation |
Class for discrete probability distributions.
Objects can be created by calls of the form new("discDist", alpha, prob, dstr).
Either alpha and prob or dstr have to be provided.
The resulting object represents a discrete probability distribution over alphabet alpha
where the probabilities for individual symbols are given by prob.
alpha:prob:alpha with probabilities
for each symbol.dstr:list of the form symbol = probability.
Class "dist", directly.
signature(dist = "discDist", size = "numeric"): sample observations from alpha
with probability prob. Peter Humburg
showClass("discDist")