Generics {modeltools} | R Documentation |
Generic Utility Functions
Description
A collection of standard generic functions for which other packages
provide methods.
Usage
ICL(object, ...)
KLdiv(object, ...)
cluster(object, newdata, ...)
getModel(object, ...)
parameters(object, ...)
posterior(object, newdata, ...)
prior(object, ...)
refit(object, ...)
Arguments
object |
S4 classed object. |
newdata |
Optional new data. |
... |
Some methods for these generic function may take
additional, optional arguments. |
Details
- ICL:
- Integrated Completed Likelihood criterion for model
selection.
- KLdiv:
- Kullback-Leibler divergence.
- cluster:
- Get cluster membership information from a model or
compute it for new data.
- getModel:
- Get single model from a collection of models.
- parameters:
- Get parameters of a model (similar to but more
general than
coefficients
).
- posterior:
- Get posterior probabilities from a model or
compute posteriors for new data.
- prior:
- Get prior probabilities from a model.
- refit:
- Refit a model (usually to obtain additional
information that was not computed or stored during the initial
fitting process).
Author(s)
Friedrich Leisch
[Package
modeltools version 0.2-12
Index]