Question 7 x = sum(c(-3,12,40 * 3-2) num =
round(runif(x,80,111)) num= num+7 Based on the script above in R,
answer the following questions:
1. What is the value of length (num)?
2. What is the lowest value in num you will expect in different
runs of the above R script?
3. What is the maximum value you would expect in num in
different runs of the above R script?
Please solve it.
Question 7 x = sum(c(-3,12,40 * 3-2) num = round(runif(x,80,111)) num= num+7 Based on the script above in R, answer the
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am