## S3 method for class 'lm':
getSummary(obj, alpha=.05)
## S3 method for class 'glm':
getSummary(obj, alpha=.05)
lm
or glm
getSummary
must return a list with the following
components:est
the coefficient estimates,
se
the estimated standard errors,
stat
t- or Wald-z statistics,
p
significance levels of the statistics,
lwr
lower confidence limits,
upr
upper confidence limits.
}
The higher dimensions of the array correspond to
the individual coefficients and, in multi-equation models,
to the model equations.getSummary
is called by mtable
in order to obtain the coefficients and summaries of model objects.
In order to adapt mtable
to models of classes other
than lm
or glm
one needs to
define getSummary
methods for these classes and
to set a summary template via setSummaryTemplate