Question: These are the problems I need to do for a Computing (intro to R) class. 2. Select the right answer, 5 points for each question.

These are the problems I need to do for a Computing (intro to R) class.
2. Select the right answer, 5 points for each question. (1) To generate n exponentially distributed numbers, which of the following is correct? (a) rexp(n,rate) (b) pexp(n,rate) (c) exp(n,rate) (d) randexp(n,rate) (2) Which of the following cannot be parameters of rbinom()? (a) 204.7, 10, 0.4 (b) 10099, 7, 0.8 (c) 44, 80.5, 0.4 (d) 50, 50, 1 (3) How do you set the limits of x-axis of a boxplot to be between 5 and 15? Page 2 (a) xlim(5,15) (b) xlim = (5,15)=TRUE (c) xlim = (5,15) (d) xlim = c(5,15) (4) Which of the following is added inside the repeat() statement to terminate the program once certain condition is satisfied? (a) end (b) break (c) stop (d) terminate
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
