plot.powerTransform {car} | R Documentation |
This function provides a simple function for plotting data using power transformations.
## S3 method for class 'powerTransform' plot(x, z = NULL, round = TRUE, plot = pairs, ...)
x |
name of the power transformation object |
z |
Additional variables of the same length as those used to get the transformation
to be plotted, default is |
round |
If |
plot |
Plotting method. Default is |
... |
Optional arguments passed to the plotting method |
The data used to estimate transformations using powerTransform
are plotted
in the transformed scale.
None. Produces a graph as a side-effect.
Sanford Weisberg, <sandy@stat.umn.edu>
Weisberg, S. (2005) Applied Linear Regression, Third Edition. Wiley.
Fox, J. and Weisberg, S. (2011) An R Companion to Applied Linear Regression, Second Edition, Sage.
summary(a3 <- powerTransform(cbind(len, ADT, trks, sigs1) ~ hwy, Highway1)) with(Highway1, plot(a3, z=rate, col=as.numeric(hwy)))