PdfSinglePlot {RMOPI} | R Documentation |
Plot the Probability Density Function
Description
Plot the p.d.f function for the univariate distribution with x and y.
Usage
PdfSinglePlot(data, x, y)
Arguments
data |
a tiible contains x and y |
x |
x |
y |
y |
Value
A ggplot figure of the probability density function
Examples
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)
[Package RMOPI version 1.1 Index]