print.regr {regr} | R Documentation |
Printing "regr"
objects, i.e. the results of
regr(*)
.
## S3 method for class 'regr' print(x, call=getOption("show.call"), residuals = FALSE, termeffects = getOption("show.termeffects"), coefcorr = getOption("show.coefcorr"), niterations = FALSE, digits = getOption("digits.reduced"), na.print = getOption("na.print"), symbolic.cor = p > 4, ...)
x |
'regr' object |
call |
logical: should the call to |
residuals |
logical: should summary(residuals) be shown? |
termeffects |
logical: should the dummy coefficients for the factors be shown? if TRUE (default), coefficients corresponding to factors are shown. If $>1$, all termeffects are shown |
coefcorr |
logical: should correlation among estimated coefficients be shown? |
niterations |
logical: should number of iterations be shown (if available)? |
digits |
number of significant digits to be shown |
na.print |
character string used to display NAs |
symbolic.cor |
logical: should correlations be shown by symbols? |
... |
further arguments, passed to the print methods used. |
The tit
attribute of x
will be printed if available and
getRegrOption("doc") > 0
, and any doc
attribute,
if getRegrOption("doc") >= 2
(see tit
).
Print functions return the object to be printed invisibly.
Werner A. Stahel, ETH Zurich
data(d.blast, package="plgraphics") r.blast <- regr(log10(tremor)~location+log10(distance)+log10(charge), data=d.blast) print(r.blast, termcolumns = c("coef","ciLow","ciUp","df","signif0"), termeffbcolumns = c("coef","ciLow","ciUp"), correlation=TRUE, symbolic.cor=TRUE)