adding sliders in R leaflet app [closed]

2019-09-19 19:02发布

Is it possible to add a slider in R that can change certain values which are visualized?

For a project I want to make a suitability map with a certain amount of layers. The user of the map should be able to change the weights that the different layers contribute to the suitability. After some research I found that this is possible in javascript, however I never used javascript.

2条回答
乱世女痞
2楼-- · 2019-09-19 19:46

Your question is too open-ended.

however I never used javascript

Start by reading https://cran.r-project.org/web/packages/leafletR/leafletR.pdf and then https://github.com/chgrl/leafletR .

查看更多
放荡不羁爱自由
3楼-- · 2019-09-19 19:47

This should be achievable with shiny.

查看更多
登录 后发表回答