print.regr {regr}R Documentation

Print Method for 'regr' objects

Description

Printing "regr" objects, i.e. the results of regr(*).

Usage

## 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, ...)

Arguments

x

'regr' object

call

logical: should the call to regr be shown?

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.

Details

The tit attribute of x will be printed if available and getRegrOption("doc") > 0, and any doc attribute, if getRegrOption("doc") >= 2 (see tit).

Value

Print functions return the object to be printed invisibly.

Author(s)

Werner A. Stahel, ETH Zurich

Examples

  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)

[Package regr version 1.1 Index]