Question
Which R function commonly creates a kernel density estimate from a numeric vector?
Select an option. Your answer will be checked instantly.
Correct Answer: D. density()
Explanation:
The base R density() function computes a univariate kernel density estimate.
Its output can be plotted and its bandwidth can be adjusted.
Leave a Reply