Closed r-poloni closed 2 weeks ago
Hi @r-poloni , you can try tm_vars()
! This is indeed a change that happened during tmap v4 development! Thanks for testing tmap v4 and let us know if something else is not working as expected!
tm_vars(c("band1", "band2", "band3"), multivariate = TRUE)
Let me know if it works as expected. See https://github.com/r-tmap/tmap/issues/819 for details.
I edited your comment slightly to make sure code was displayed. You need to use 3 back ticks ```
Hi! Sorry, I read the issue and also the news about version 4, but when I saw that they adviced the use of tm_mv I didn't read further. My bad! Thank you, the tm_vars() works perfectly indeed!
Hi, I have a script from last year, that simply draws maps based on a raster layer and points. Last year I struggled a bit to write it with tmap4, but I did this because it should have been a better option, since tmap3 will be discontinued soon. Since I changed my computer, I now re-installed all the packages and the script does not work any more.
The point dataframe is a simple R DF like this
This produces the following error:
Do you have an idea why the function tm_mv is not recognised?