Skip to content

Instantly share code, notes, and snippets.

@fnshr
Last active July 20, 2018 12:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fnshr/1b585dbd76e14406421e8c8fac34092d to your computer and use it in GitHub Desktop.
Save fnshr/1b585dbd76e14406421e8c8fac34092d to your computer and use it in GitHub Desktop.
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