plot_pdf | R Documentation |
Plot Probability Density Function Values
plot_pdf(x, y, ...)
x |
values |
y |
probability density values |
... |
passed to Plots the density values as a curve with the lower vertical limit set to 0. |
No return value, this function generates a plot in the current graphics device.
x <- seq(-2, 2, len = 100)
y <- dnorm(x)
plot_pdf(x, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.