print.desk: Alternative Console Output for Regression- and Test-results

print.deskR 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)


desk documentation built on May 29, 2024, 6:05 a.m.

Related to print.desk in desk...