initializeDist-methods {tileHMM} | R Documentation |
Objects representing probability distributions for the use with objects of class
hmm
are created by calls to new(Class, ...)
, where Class
is
"contDist"
, "tDist"
or "discDist"
.
## S4 method for signature 'tDist': new(Class, mean=0, var=1, df=3) ## S4 method for signature 'discDist': new(Class, alpha=character(0), prob=numeric(0), dstr=list())
Class |
Character string specifying the class of the object to be created. |
mean |
The location parameter of the t distribution. |
var |
The scale parameter of the t distribution. |
df |
The degrees of freedom of the t distribution. |
alpha |
A character vector with names for all events. |
prob |
A numeric vector providing the probabilities of events. |
dstr |
A list with each entry providing the probability of one event. |
To generate objects of class discDist
either alpha
and prob
or dstr
have to be provided. If alpha
and prob
are provided
they have to be the same length.
contDist
,
representing a continuous probability distribution. This is used as a super class
for specific distributions and should not be used directly.tDist
,
representing a t distribution with location and scale parameter.discDist
,
representing a discrete probability distribution.Peter Humburg