runif问题
> x <- 1:4
> lapply(x, runif, min=0, max=100)
[[1]]
[1] 91.50005
[[2]]
[1] 10.59606 75.04360
[[3]]
[1] 64.87079 17.46761 28.34658
[[4]]
[1] 99.36152 92.21989 34.47432
[4] 83.03682
x不是1:4么 为什么取值大于4了
> x <- 1:4
> lapply(x, runif, min=0, max=100)
[[1]]
[1] 91.50005
[[2]]
[1] 10.59606 75.04360
[[3]]
[1] 64.87079 17.46761 28.34658
[[4]]
[1] 99.36152 92.21989 34.47432
[4] 83.03682
x不是1:4么 为什么取值大于4了
2017-10-28
举报