quickplot: Quick Plot

Description Usage Arguments Author(s) References See Also Examples

View source: R/quickplot.R

Description

If you have two numeric vectors of equal length you can use quickplot to quickly look at the potential relationship between them in four graphs at once.

Quickplot will show you a scatter plot with a regression line, a qq-plot to check the normality of the residuals, a residual plot to check the constancy and correlation of the residuals, and a boxplot for a quick overview of the spread of the two vectors, and two historgrams to see the distributions of the two vectors.

Usage

1
quickplot(x, y)

Arguments

x

A numeric vector of length > 3

y

A numeric vector of length > 3 (equal in length to x)

Author(s)

Jonathan Schwartz

References

Montgomery, D. C., Peck, E. A., Vining, G. G. (2013), Introduction to Linear Regression Analysis, Hoboken, NJ: John Wiley & Sons, Inc.

See Also

plot, abline, lm, qqnorm, qqline, resplot, boxplot

Examples

1
2
##quickly looking at the relationship between iris petal length and iris petal width
quickplot(iris$Petal.Length,iris$Petal.Width)

handyplots documentation built on May 2, 2019, 6:12 a.m.