Shapes for symbols: they work for both categorical and sequential data. However, should they work for sequential data?
Shapes (lty) for lines: right now it is only possible to set one line type for all of the data. Would it be possible to allow to provide a categorical variable here?
# also works - but should it?
tm_shape(metro2) +
tm_symbols(shape = "pop1950")
#> Warning: Not enough symbol shapes available. Shapes will be re-used.
# 2 -----------------------------------------------------------------------
# works
tm_shape(rivers) +
tm_lines(lty = 2)
# does not work
tm_shape(rivers) +
tm_lines(lty = "type")
#> Error in grid.Call.graphics(C_lines, x$x, x$y, index, x$arrow): invalid hex digit in 'color' or 'lty'
@mtennekes two open questions:
Created on 2020-11-10 by the reprex package (v0.3.0)