print.lm.madlib: Display results of linear regression

Description Usage Arguments Value Author(s) See Also Examples

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. fmcquillan@pivotal.io

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 March 13, 2021, 1:06 a.m.