print.lm.madlib: Display results of linear regression

Description Usage Arguments Value Author(s) See Also Examples

View source: R/madlib-lm.R

Description

This function displays the results of linear regression in a pretty format.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## S3 method for class 'lm.madlib'
print(x, digits = max(3L, getOption("digits") - 3L),
...)

## S3 method for class 'lm.madlib.grps'
print(x, digits = max(3L, getOption("digits") -
3L), ...)

## S3 method for class 'lm.madlib'
show(object)

## S3 method for class 'lm.madlib.grps'
show(object)

Arguments

x, object

The linear regression result object to be printed.

digits

A non-null value for ‘digits’ specifies the minimum number of significant digits to be printed in values. The default, ‘NULL’, uses ‘getOption("digits")’. (For the interpretation for complex numbers see signif.) Non-integer values will be rounded down, and only values greater than or equal to 1 and no greater than 22 are accepted.

...

Further arguments passed to or from other methods. This is currently not implemented.

Value

No value is returned

Author(s)

Author: Predictive Analytics Team at Pivotal Inc.

Maintainer: Frank McQuillan, Pivotal Inc. [email protected]

See Also

madlib.lm Wrapper for MADlib linear regression

Examples

1
## see the examples in madlib.lm

Example output

Loading required package: Matrix

Attaching package: 'PivotalR'

The following objects are masked from 'package:stats':

    sd, var

The following object is masked from 'package:base':

    cbind

PivotalR documentation built on May 30, 2017, 8:18 a.m.