尝试设置滑块范围为0.5-999.5,步长为1,使其取值范围为0.5、1.5、2.5……999.5。问题在于,当我使用下面的代码时,我得到的值包括整数1、2、3、4等。我尝试将步长更改为0.5,但是我得到了1、1.5、2、2.5等值。有什么想法吗?
column(4,
fileInput("pbs", label = ("PBS File input")),
sliderInput("size",
label = ("Size Range Selection"),
min = 0.5,
max = 999.5,
value = c(0.5,999.5),
step = 1,
round = F
)