adplus-dvertising
frame-decoration

Question

Which of the following R code will print the following result?
[[1]]
[1] 2.263808
[[2]]
[1] 1.314165 9.815635
[[3]]
[1] 3.270137 5.069395 6.814425
[[4]]
[1] 0.9916910 1.1890256 0.5043966 9.2925392

a.

> x <- 1:4
> lapply(x, runif, min = 0, max = 10)

b.

> x <- 1:4
> lapply(x, runif, min = 0, max = 9)

c.

> x <- 1:3
> lapply(x, runif, min = 0, max = 10)

d.

> x <- 1:4
> lapply(x, runif, min = 0, max = 6)

Answer: (a).> x <- 1:4
> lapply(x, runif, min = 0, max = 10)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following R code will print the following result?