Vidyalelo
R Programming · Q20

Statistical Analysis with R (Distributions, Graphics)

Programming · R Programming · question 20

Q20

In R, what is the purpose of the hist() function with the argument probability = TRUE?

A.
Computes the probability density function of a numeric variable
B.
Plots a histogram with probabilities as heights
Answer
C.
Generates a random sample from a probability distribution
D.
Creates a probability plot for a numeric variable

Answer: Option B

Solution

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