我正在尝试为闪亮滑块(1,5,10,15,20,25和30)设置自定义值.我试过step但结果是(0,5,10,15,20,25,30)或(1,6,11,16,21,26,31).有没有办法为滑块定义自定义值?谢谢!
plotpath <- "/Volumes/share-ites-1-$/Projects/Scientifica/Simulations_Scientifica"
ui <- fluidPage(
titlePanel("LandClim Simulations"),
sidebarLayout(
sidebarPanel(
sliderInput(inputId = "temp",
label = "Temperature increase:",
value = 1, min = 1, max = 2,
step = 1, animate = TRUE ),
sliderInput(inputId = "prec",
label = "Precipitation change:",
value = 0, min = -2, max = 2,
step = 1, animate = TRUE ),
sliderInput(inputId = "decade",
label = "Time (decade):",
value = 1, min = 0, max = 30,
step = 5, animate = …Run Code Online (Sandbox Code Playgroud)