Last chance! 50% off unlimited learning
Sale ends in
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 hmmmmod
summary(object,...)
# S3 method for hmmmmod
print(x,...)
An object of the class hmmmod
, i.e. a result of `hmmm.model'
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.
# NOT RUN {
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) # or print(model)
# }
Run the code above in your browser using DataLab