问题
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.
回答1:
This should be achievable with shiny.
回答2:
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 .
来源:https://stackoverflow.com/questions/37682619/adding-sliders-in-r-leaflet-app