nthOrderModel {mimR}R Documentation

Create generating class with nth order interactions for log-linear model

Description

Creates generating class with nth order interactions for log–linear model

Usage

nthOrderModel(variables, order = 2)

Arguments

variables A vector of variables
order The maximum order of interactions in the model

Value

A string

Note

Before using mimR, make sure that the MIM program is runnning.

Author(s)

Søren Højsgaard, sorenh@agrsci.dk

References

David Edwards, An Introduction to Graphical Modelling, Springer Verlag, 2002

Examples

nthOrderModel(c("ss","uu","ii"), 2)

[Package Contents]