Skip to content

Commit

Permalink
crime-scatmat.R
Browse files Browse the repository at this point in the history
  • Loading branch information
friendly committed Nov 14, 2023
1 parent 1084abb commit 2ce0632
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions R/crime-scatmat.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
library(dplyr)
library(ggplot2)
library(car)

load(here("data", "crime.RData"))


scatterplotMatrix(crime[, 2:8],
ellipse = list(levels = 0.68),
# regLine = list(lwd=3),
# diagonal = list(method = "boxplot"),
smooth = FALSE,
plot.points = FALSE)

0 comments on commit 2ce0632

Please sign in to comment.