powered by
Plot the p.d.f function for the univariate distribution with x and y.
PdfSinglePlot(data, x, y)
A ggplot figure of the probability density function
a tiible contains x and y
x
y
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)
Run the code above in your browser using DataLab