Vidyalelo
R Programming · Q32

Data Visualization with ggplot2

Programming · R Programming · question 32

Q32

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))
Answer
D.
x1 >- c(norm(n))

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board