print.desk {desk}R Documentation

Alternative Console Output for Regression- and Test-results

Description

This function implements an S3 method for printing regression- and test-results generated by functions of the desk package. Used for internal purposes.

Usage

## S3 method for class 'desk'
print(x, details, digits = 4, ...)

Arguments

x

object of class desk to be printed to the console.

details

logical value indicating whether details of object x should be printed.

digits

number of digits to round to (only output).

...

any argument that print() accepts.

Value

No return value. Called for side effects.

Examples

## Simple regression model
tip.est <- ols (y ~ x, data = data.tip)

## Check its class
class(tip.est)
#> [1] "desk" "lm"

## Standard regression output
print(tip.est) # same as tip.est

## Regression output with details rounded to 2 digits
print(tip.est, details = TRUE, digits = 2)


[Package desk version 1.1.1 Index]