summary.hmmmmod | R Documentation |
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’.
## S3 method for class 'hmmmmod'
summary(object,...)
## S3 method for class 'hmmmmod'
print(x,...)
object , x |
An object of the class |
... |
Further arguments passed to or from other methods |
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.
No return value
Functions ‘summary’ and ‘print’ display the same output.
hmmm.model
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.