Skip to content

Instantly share code, notes, and snippets.

@gonzalezgouveia
Last active February 5, 2019 20:16
Show Gist options
  • Save gonzalezgouveia/bca36fe86194f3018111642c6ab0e80f to your computer and use it in GitHub Desktop.
Save gonzalezgouveia/bca36fe86194f3018111642c6ab0e80f to your computer and use it in GitHub Desktop.
trelliscope dashboard
path_trelliscope <- "./path/to/folder/trelliscope/"
ggplot(clean_data,
aes(x=log(price), y=points)) +
geom_point() +
geom_smooth(method=lm, se = FALSE) +
facet_trelliscope(~ country, nrow = 1, ncol = 3,
path = path_trelliscope,
self_contained=TRUE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment