PdfSinglePlot | R Documentation |
Plot the p.d.f function for the univariate distribution with x and y.
PdfSinglePlot(data, x, y)
data |
a tiible contains x and y |
x |
x |
y |
y |
A ggplot figure of the probability density function
N <- 32 x <- seq(-5, 5, by = 10 / (32 - 1)) a <- -6.0 b <- 6.0 f_x <- CosPdfRecovery(x, StNormChf, N, a, b) tnorm <- tibble(x = x, y = f_x) PdfSinglePlot(tnorm, x, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.