trevorld / ggpattern

ggplot geoms with pattern fills
https://trevorldavis.com/R/ggpattern/dev/
Other
359 stars 18 forks source link

WIP: Replace grobs with those from {gridpattern} #42

Closed trevorld closed 3 years ago

trevorld commented 3 years ago
trevorld commented 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}