print.regr {regr0} | R Documentation |
Printing "regr"
objects, i.e. the results of
regr(*)
.
## S3 method for class 'regr' print(x, call=TRUE, correlation = FALSE, termeffects = getUserOption("show.termeffects"), termcolumns = getUserOption("termcolumns"), termeffcolumns = getUserOption("termeffcolumns"), digits = max(3, getUserOption("digits") - 2), symbolic.cor = p > 4, signif.stars = getOption("show.signif.stars"), na.print = getUserOption("na.print"), residuals = FALSE, niterations = FALSE, ...)
x |
'regr' object |
call |
logical: should the call to |
correlation |
logical: should correlation among estimated coefficients 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 |
termcolumns |
columns of the term table to be printed.
If |
termeffcolumns |
columns of the (dummy) coefficent tables to be printed. |
digits |
number of significant digits to be shown |
symbolic.cor |
logical: should correlations be shown by symbols? |
signif.stars |
logical: should significance asterisks be shown?
A legend will also be shown after the term table.
To avoid the legend, set |
na.print |
character string used to display NAs |
residuals |
logical: should summary(residuals) be shown? |
niterations |
logical: should number of iterations be shown (if available)? |
... |
further arguments, passed to the print methods used. |
The tit
attribute of x
will be printed if available and
getUserOption("doc") > 0
, and any doc
attribute,
if getUserOption("doc") >= 2
(see tit
).
Print functions return the object to be printed invisibly.
Werner A. Stahel, ETH Zurich
data(d.blast) r.blast <- regr(log10(tremor)~location+log10(distance)+log10(charge), data=d.blast) print(r.blast, termcolumns = c("coef","ciLow","ciHigh","df","signif"), termeffbcolumns = c("coef","ciLow","ciHigh"), correlation=TRUE, symbolic.cor=TRUE)