- x
a contingency table in array form, with optional category labels specified in the dimnames(x) attribute,
or else a data.frame in frequency form, with the frequency variable named "Freq".
- type
type of sequential model to fit, a character string. One of "joint", "conditional",
"mutual", "markov", or "saturated".
- marginals
which marginal sub-tables to fit? A vector of a (sub)set of the integers, 1:nf where
nf is the number of factors in the full n-way table.
- vorder
order of variables, a permutation of the integers 1:nf, used to reorder the variables in
the original table for the purpose of fitting sequential marginal models.
- k
conditioning variable(s) for type = "joint", "conditional" or Markov chain order
for type = "markov"
- prefix
prefix used to give names to the sequential models. If NULL (the default),
uses an abbreviation of type: "joint", "cond", "mutual", "markov", or "sat".
- fitted
argument passed to loglm to store the fitted values in the model objects
- ...
other arguments, passed down