Skip to content

Instantly share code, notes, and snippets.

@aammd
Created December 7, 2016 21:40
Show Gist options
  • Save aammd/dfa6d4983096aff91edc7fbcb557ed6d to your computer and use it in GitHub Desktop.
Save aammd/dfa6d4983096aff91edc7fbcb557ed6d to your computer and use it in GitHub Desktop.
library(map)
library(rucrdtw)
map(list(first = 33, second = 19, third = 7), ~ ucred_mv(synthetic_control[-.x,], synthetic_control[.x,], byrow= TRUE)) %>% map_dbl("distance") %>% tibble::enframe(.)
# consider also adding this to that shiny app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment