Hadley Wickham
Hadley Wickham
``` R resolution(c(1:4, 4.01)) ``` should be 0.01 not 1.
`compute_bin()` functions must be type stable, so we might be able to improve performance by growing the data frame and inserting in place. This will only affect performance for large...
- [ ] Automatically determine which direction to stack in - [x] Base stacking on complete overlap, not just first position. Either warn if intervals overlap, or better, stack like...
e.g. https://github.com/mourner/rbush
So that you can do (e.g.) ``` R vis %>% scale_numeric("fill", c("4"= "red", "6" = "blue", "8" = "green")) ``` instead of ``` R vis %>% scale_numeric("fill", c("4", "6", "8"),...
See https://github.com/trifacta/vega/issues/31 and https://github.com/trifacta/vega/wiki/Marks#value-references
e.g. ``` R df
So need to change the default, and update the docs. Probably worth a little exploration of impact on users (with github search for `str_like()`).