Define a one-line R function FUN that provides the following output:
FUN(seq(from = 0, to = 20, by = 0.1))
FUN(seq(from = 0, to = 100, by = 0.1))
FUN(seq(from = 0, to = 200, by = 0.1))
Answer: click to reveal
We can write the function as follo…
Define a one-line R function FUN that provides the following output:
FUN(seq(from = 0, to = 20, by = 0.1))
FUN(seq(from = 0, to = 100, by = 0.1))
FUN(seq(from = 0, to = 200, by = 0.1))
Answer: click to reveal
We can write the function as follo…