\HeaderA{summary.loglm}{Summary Method Function for Objects of Class 'loglm'}{summary.loglm}
\aliasA{print.summary.loglm}{summary.loglm}{print.summary.loglm}
\keyword{models}{summary.loglm}
\begin{Description}\relax
Returns a summary list for log-linear models fitted by
iterative proportional scaling using \code{loglm}.
\end{Description}
\begin{Usage}
\begin{verbatim}
## S3 method for class 'loglm':
summary(object, fitted = FALSE, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] a fitted loglm model object.

\item[\code{fitted}] if \code{TRUE} return observed and expected frequencies in the result.
Using \code{fitted = TRUE} may necessitate re-fitting the object.

\item[\code{...}] arguments to be passed to or from other methods.

\end{ldescription}
\end{Arguments}
\begin{Details}\relax
This function is a method for the generic function
\code{summary()} for class \code{"loglm"}.
It can be invoked by calling \code{summary(x)} for an
object \code{x} of the appropriate class, or directly by
calling \code{summary.loglm(x)} regardless of the
class of the object.
\end{Details}
\begin{Value}
a list is returned for use by \code{print.summary.loglm}.
This has components

\begin{ldescription}
\item[\code{formula}] the formula used to produce \code{object}

\item[\code{tests}] the table of test statistics (likelihood ratio, Pearson) for the fit.

\item[\code{oe}] if \code{fitted = TRUE}, an array of the observed and expected frequencies,
otherwise \code{NULL}.

\end{ldescription}
\end{Value}
\begin{References}\relax
Venables, W. N. and Ripley, B. D. (2002)
\emph{Modern Applied Statistics with S.} Fourth edition.  Springer.
\end{References}
\begin{SeeAlso}\relax
\code{\LinkA{loglm}{loglm}}, \code{\LinkA{summary}{summary}}
\end{SeeAlso}

