liuhui0622

d <- density(mtcars$mpg)
plot(d, main="Kernel Density of Miles Per Gallon")

polygon(d, col="red", border="blue") # Filled Density Plot

分类:

技术点:

相关文章: