box_cox: Box-cox constructor function

Description Usage Arguments Value Examples

Description

A front-end to boxcox with slicker display and better defaults

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
box_cox(object, ...)

## S4 method for signature 'formula'
box_cox(object, data = sys.parent(), ...)

## S4 method for signature 'lm'
box_cox(object, ..., plotit, flap = 0.4)

## S3 method for class 'box_cox'
plot(x, ..., xlab = expression(lambda), ylab, col.lines = "steel blue")

## S3 method for class 'box_cox'
print(x, ..., xlab = expression(lambda), ylab, col.lines = "steel blue")

Arguments

object

either a "box_cox" object, a formula,data pair, a linear model object or an xy-lixt

...

additional arguments passed on to methods

data

a data frame or environment

plotit

currently ignored. Plotting is done by plot or print methods

flap

fraction of the central 95% notional confidence to expand the range of lambda for the display

x

a "box_cox" object to be displayed

xlab, ylab

as for plot

col.lines

colour to use for indicator lines in the display

Value

an object of class "box_cox"

Examples

1
box_cox(MPG.city ~ Weight, MASS::Cars93)

BillVenables/WWRUtilities documentation built on Jan. 26, 2021, 10:18 p.m.