Learn R Programming

MPV (version 1.64)

Uplot: Plot of Multipliers in Regression ANOVA Plot

Description

This function graphically displays the coefficient multipliers used in the Regression Plot for the given predictor.

Usage

Uplot(X.qr, Xcolumn = 1, ...)

Value

A bar plot is displayed.

Arguments

X.qr

The design matrix or the QR decomposition of the design matrix.

Xcolumn

The column(s) of the design matrix under study; this can be either integer valued or a character string.

...

Additional arguments to barchart.

Author

W. John Braun

Examples

Run this code
# Jojoba oil data set
X <- p4.18[,-4]
Uplot(X, 1:4)
# NFL data set; see GFplot result first
X <- table.b1[,-1]
Uplot(X, c(2,3,9))
# In this example, x8 is the only predictor in
# the true model:
X <- pathoeg[,-10]
y <- pathoeg[,10]
pathoeg.F <- GFplot(X, y, plotIt=FALSE)
Uplot(X, "x8")
Uplot(X, 9) # same as above
Uplot(pathoeg.F$QR, 9) # same as above
X <- table.b1[,-1]
Uplot(X, c("x2", "x3", "x9"))

Run the code above in your browser using DataLab