summary.hmmmmod {hmmm} | R Documentation |
summary and print for the class hmmmmod
Description
The generic functions ‘summary’ and ‘print’ are adapted to the objects inheriting from class hmmmod
(summary.hmmmmod, print.hmmmmod) to display the summary of a model defined by ‘hmmm.model’.
Usage
## S3 method for class 'hmmmmod'
summary(object,...)
## S3 method for class 'hmmmmod'
print(x,...)
Arguments
object , x |
An object of the class |
... |
Further arguments passed to or from other methods |
Details
The output provides the list of interactions and the marginal distributions where those
interactions are defined. The names of the involved variables are displayed
if names
is not NULL. For every interaction, the logit type used for each variable
in the interaction set and the number of parameters are indicated.
The last two columns give the position of the parameters in the vector
where all the interactions are arranged.
Value
No return value
Note
Functions ‘summary’ and ‘print’ display the same output.
See Also
Examples
marginals<-marg.list(c("g-m","m-l","g-l"),mflag="m")
model<-hmmm.model(marg=marginals,lev=c(3,7),names=c("A","B"))
summary(model)