Jakub

Results 358 comments of Jakub

Try disabling S2 at the beginning of your code -- `sf_use_s2(FALSE)`.

@mtennekes Awesome. I made some timings, and on my computer the difference between the previous and the current version is about 25 seconds vs 2 seconds.

Hi @mtennekes -- see https://github.com/r-tmap/tmap/pull/659. One way to host the vignette (if you do not want to wait until the tmap release) is to put a html version of the...

Hi @mtennekes - one comment/question. Would it not be better if the ticks on the legend were outside of the color scale (and not inside, like in the example below)?...

For now, you can just do `sf::st_crs(NLD_muni) = sf::st_crs(NLD_muni)`.

Quick evaluation of the current default color palettes: ``` r # remotes::install_github("nowosad/colorblindcheck") library(colorblindcheck) library(RColorBrewer) # sequential -------------------------------------------------------------- # RdYlGn YlOrBr = brewer.pal(7, "YlOrBr") colorblindcheck::palette_check(YlOrBr, plot = TRUE) ``` ![](https://i.imgur.com/q8ELkf2.png) #>...

Possible alternatives (any other suggestions are very welcomed!): ``` r # remotes::install_github("nowosad/colorblindcheck") library(colorblindcheck) # sequential -------------------------------------------------------------- # RdYlGn seq = hcl.colors(7, "Red-Yellow") colorblindcheck::palette_check(seq, plot = TRUE) ``` ![](https://i.imgur.com/4bKJUQY.png) #> name...

And for bivariate palettes see https://nowosad.github.io/post/cbc-bp2/ and https://nowosad.github.io/colorblindcheck/articles/articles/check_bivariate_pals.html.

@peasantxuan -- try some arguments in `tm_facets()` such as `free.coords = FALSE` `drop.units = FALSE`, etc.

Hi @tylerhoecker - I am not sure if this is the best approach, but you can try something like this: ``` r library(tmap) library(classInt) library(ggplot2) library(spData) library(sf) #> Linking to...