Question
> x <- rnorm(10)
> x
a.
[1] 0.01874617 -0.18425254 -1.37133055 -0.59916772 0.29454513
[6] 0.38979430 -1.20807618 -0.36367602 -1.62667268 -0.25647839
b.
[1] 22.20356 21.51156 19.52353 21.97489 21.48278 20.17869 18.09011
[8] 19.60970 21.85104 20.96596
c.
Min. 1st Qu. Median Mean 3rd Qu. Max.
18.09 19.75 21.22 20.74 21.77 22.20
d.
Error
Posted under R Programming
[6] 0.38979430 -1.20807618 -0.36367602 -1.62667268 -0.25647839
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. What will be the output of the following R code?
Similar Questions
Discover Related MCQs
Q. _________ ensures reproducibility of the sequence of random numbers.
View solution
Q. Point out the correct statement?
View solution
Q. 5 Normal random numbers can be generated with rnorm() by setting seed value to ______________
View solution
Q. _______ function is used to simulate binary random variables.
View solution
Q. Point out the wrong statement?
View solution
Q. __________ distribution is commonly used to model data that come in the form of counts.
View solution
Q. Which of the following code represents count with mean of 2?
View solution
Q. ________ is a systematic way to examine how much time is spent in different parts of a program.
View solution
Q. Point out the correct statement?
View solution
Q. R comes with a ________ to help you optimize your code and improve its performance.
View solution
Q. The _______ function computes the time (in seconds) needed to execute an expression.
View solution
Q. Point out the correct statement?
View solution
Q. system.time function returns an object of class _______ which contains two useful bits of information.
View solution
Q. _________ time is time charged to the CPU(s) for the R expression.
View solution
Q. The elapsed time may be ________ than the user time if your machine has multiple cores/processors.
View solution
Q. Parallel processing is done via __________ package can make the elapsed time smaller than the user time.
View solution
Q. You can time ________ expressions by wrapping them in curly braces within the call to system.time().
View solution
Q. The profiler can be turned off by passing _________ to Rprof().
View solution
Q. Point out the correct statement?
View solution
Q. How many methods exist for normalizing the data?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond R Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!