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.
Your question is too open-ended.
Start by reading https://cran.r-project.org/web/packages/leafletR/leafletR.pdf and then https://github.com/chgrl/leafletR .
This should be achievable with shiny.