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
C. Generates a random sample from a probability distribution
D. Creates a probability plot for a numeric variable
Answer: Option B

Join The Discussion