print.regr: Print Method for 'regr' objects

Description Usage Arguments Details Value Author(s) Examples

Description

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

Usage

1
2
3
4
5
6
7
8
9
## 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, ...)

Arguments

x

'regr' object

call

logical: should the call to regr be shown?

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 NULL, all columns will be printed.

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 signif.stars false and include "p.symb" in termeffcolumns.

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.

Details

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

Value

Print functions return the object to be printed invisibly.

Author(s)

Werner A. Stahel, ETH Zurich

Examples

1
2
3
4
5
6
7
8
  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)

regr0 documentation built on May 2, 2019, 4:52 p.m.