oneway.plot {Deducer} | R Documentation |
plots a categorical variable against a series of continuous variables
oneway.plot(formula,data=NULL,alpha=.2, box=TRUE,points=TRUE,scale=FALSE)
formula |
A formula, the left hand side of which indicated the outcomes, and the right hand side of which contains the factor |
data |
A data.frame |
alpha |
alpha transparency level for the points. |
box |
prints boxplot |
points |
prints jitter plot |
scale |
standardize the variables prior to plotting |
a ggplot object
oneway.plot(d(DriversKilled, drivers, front, rear, kms, PetrolPrice)~law,as.data.frame(Seatbelts))