Apportioned Probabilities
Usage
apportion(object, from, to, ...)
# S4 method for EventsMCMC,numeric,numeric
apportion(object, from, to, groups = NULL)
# S4 method for EventsMCMC,list,missing
apportion(object, from, groups = NULL)
Arguments
- object
An
EventsMCMC
object.- from
A
numeric
vector. Ifto
is missing, must be alist
(or adata.frame
) withnumeric
components (columns)from
andto
.- to
A
numeric
vector. If missing, an attempt is made to interpretfrom
in a suitable way.- ...
Currently not used.
- groups
A
factor
vector in the sense thatas.factor(groups)
defines the grouping. Iffrom
is alist
(or adata.frame
),groups
can be a length-one vector giving the index of the grouping component (column) offrom
.