summary.hmmmmod: summary and print for the class hmmmmod

Description Usage Arguments Details Note See Also Examples

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

1
2
3
4
## S3 method for class 'hmmmmod'
summary(object,...)
## S3 method for class 'hmmmmod'
print(x,...)

Arguments

object,x

An object of the class hmmmod, i.e. a result of ‘hmmm.model’

...

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.

Note

Functions ‘summary’ and ‘print’ display the same output.

See Also

hmmm.model

Examples

1
2
3
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)


Search within the hmmm package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.