adplus-dvertising
frame-decoration

Question

Which of the following code create a n item vector of random normal deviates?

a.

x1 <- c(snorm(n))

b.

x1 <- c(pnorm(n))

c.

x1 <- c(rnorm(n))

d.

x1 >- c(norm(n))

Answer: (c).x1 <- c(rnorm(n))

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 code create a n item vector of random normal deviates?

Similar Questions

Discover Related MCQs

Q. Which of the following statement can read csv files?

Q. Which of the following statement read a tab or space delimited file?

Q. Which of the following statement chose those objects meeting a logical criterion?

Q. Which of the following statement is another way to get a subset?

Q. Which of the following sort a dataframe by the order of the elements in B?

Q. Which of the following is Mac menu command?

Q. _____ list the variables in the workspace.

Q. ___________ remove all the variables from the workspace.

Q. Which of the following code will drop the nth column?

Q. Which of the following code drop the ith and jth column?

Q. Which of the following statement find cases with no missing values?

Q. Which of the following statement is normal distribution?

Q. which of the following statement gives cumulative sum?

Q. Which of the following is uniform distribution?

Q. Which of the following truncates real x to integers?

Q. Which of the following tests each element of x for membership in y?

Q. Which of the following finds the maximum value in the vector x, exclude missing values?

Q. Which of the following produces the variance covariance matrix?

Q. Which of the following will reverse the order of values in x?

Q. Which of the following finds row sums for each level of a grouping variable?