如何解决如何在tmap中为rshiny添加图层?
如何在tmap中为rshiny添加图层?我不确定该怎么办...
我想了解页面加载的基本信息。如果用户选中/取消选中此框,气泡层将出现并消失。我打算仅使用Tmap()方法。
我对server.ui的想法大致如下:
server <- function(input,output) {
output$map <- renderTmap({
tm_shape(sz)+tm_polygons(zindex = 401)
})
infoselect <- reactive({
if (input$checkGroup == "check1") {
#notsure what to do here.
}
})
observe({
#notsure what to add here
tm_bubbles(col = "total",breaks=c(50,100,150),style = "cont",size = "count",border.col = "black",border.lwd = 1)
})
})
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。