Closed trevorld closed 3 years ago
NB. crimesm <- reshape2::melt(crimes, id = 1)
is (more-or-less) equivalent to
crimesm <- stats::reshape(crimes, direction = "long", idvar = "state",
varying = c("Murder", "Assault", "UrbanPop", "Rape"),
v.name = "value", timevar = "variable",
times = c("Murder", "Assault", "UrbanPop", "Rape"))
but none of the examples we create crimesm
for actually uses it so we can simply delete all lines that use {reshape2}
Work-in-progress with goal of replacing {ggpattern}'s internal grid grobs with those from the new {gridpattern} package
Goal is that {ggpattern} user's shouldn't need to change any code unless really picky about placement of geometry elements via use of "offsets":