Skip to content

Instantly share code, notes, and snippets.

@randyzwitch
Created May 24, 2016 14:30
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 randyzwitch/178d72e01e30943f6af82c48a47c4478 to your computer and use it in GitHub Desktop.
Save randyzwitch/178d72e01e30943f6af82c48a47c4478 to your computer and use it in GitHub Desktop.
vegalite local outlier factors
library(vegalite)
vegalite() %>%
cell_size(600,300) %>%
add_data(worst500) %>%
encode_y("df_lof", "quantitative") %>%
encode_x("rank", "quantitative") %>%
axis_y(title = "local outlier factor") %>%
axis_x(ticks = 20) %>%
mark_line() %>%
config_color(color = "navy")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment