Learn R Programming

repmod (version 0.4.11)

plot.reportmodel: Coefplot for reportmodel objects

Description

Creates a coefplot from the reportmodel object.

Usage

# S3 method for reportmodel
plot(x, ...)

Value

Returns a plot of each coefficient in the model with its 95

Arguments

x

A reportmodel object

...

Further arguments passed to coefplot

Examples

Run this code
lm1 <- lm(Petal.Length ~ Sepal.Width + Species, data=iris)
a<-report(lm1)
oldpar <- par()
par(mar=c(4, 10, 3, 2))
plot(a)   #Coefplot calling plot.reportmodel
par(mar=oldpar$mar)

Run the code above in your browser using DataLab