Skip to content

Instantly share code, notes, and snippets.

@fnshr

fnshr/iris-scatterplot.R

Last active Jul 20, 2018
Embed
What would you like to do?
Create the scatterplot in the High School Course of Study Guide for Mathematics of Japan (2018)
# The current stable version of {car} package (Ver. 3.0-0) does not output scatterplots properly.
# Instead, use the development version as following:
# install.packages("car", repos="http://R-Forge.R-project.org")
car::scatterplot(Sepal.Length ~ Petal.Width | Species,
data = iris,
boxplots= "xy", xlab="", ylab="",
grid = FALSE, legend = FALSE,
col = "black",
regLine = FALSE, smooth = FALSE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment