Closed chicofish closed 6 years ago
I'm trying to override the "Missing" default on NA values.
When I put it in tm_text, it does not override.
tm_shape(CAR) + tm_polygons("Graduates") + tm_text("Label_Name", just = "top", auto.placement = TRUE, textNA = "No Frontline", colorNA = "#CC0000", col = "#000000") + tm_layout(main.title = "Frontline Graduates by Country\nCaribbean", main.title.position = "center", inner.margins = c(.1, .2, .1, .2))
If I add a tm_fill layer, I get a warning that
tm_shape(CAR) + tm_polygons("Graduates") + tm_fill(textNA = "Frontline not implemented") + tm_text("Label_Name", just = "top", auto.placement = TRUE, textNA = "No Frontline", colorNA = "#CC0000", col = "#000000") + tm_layout(main.title = "Frontline Graduates by Country\nCaribbean", main.title.position = "center", inner.margins = c(.1, .2, .1, .2))
One tm layer group has duplicated layer types, which are omitted.
Any help would be appreciated.
Thanks
Wrong package
I'm trying to override the "Missing" default on NA values.
When I put it in tm_text, it does not override.
tm_shape(CAR) + tm_polygons("Graduates") + tm_text("Label_Name", just = "top", auto.placement = TRUE, textNA = "No Frontline", colorNA = "#CC0000", col = "#000000") + tm_layout(main.title = "Frontline Graduates by Country\nCaribbean", main.title.position = "center", inner.margins = c(.1, .2, .1, .2))
If I add a tm_fill layer, I get a warning that
tm_shape(CAR) + tm_polygons("Graduates") + tm_fill(textNA = "Frontline not implemented") + tm_text("Label_Name", just = "top", auto.placement = TRUE, textNA = "No Frontline", colorNA = "#CC0000", col = "#000000") + tm_layout(main.title = "Frontline Graduates by Country\nCaribbean", main.title.position = "center", inner.margins = c(.1, .2, .1, .2))
One tm layer group has duplicated layer types, which are omitted.
Any help would be appreciated.
Thanks