powered by
plots a categorical variable against a series of continuous variables
oneway.plot(formula,data=NULL,alpha=.2, box=TRUE,points=TRUE,scale=FALSE)
a ggplot object
A formula, the left hand side of which indicated the outcomes, and the right hand side of which contains the factor
A data.frame
alpha transparency level for the points.
prints boxplot
prints jitter plot
standardize the variables prior to plotting
oneway.plot(d(DriversKilled, drivers, front, rear, kms, PetrolPrice)~law,as.data.frame(Seatbelts))
Run the code above in your browser using DataLab