
probability_density_function
evaluates the probability density
function of a specific distribution dist
at a point x
.
probability_density_function(dist, x, n, theta, ...)
# S4 method for Normal,numeric,numeric,numeric
probability_density_function(dist,
x, n, theta, ...)
a univariate distribution
object
outcome
sample size
distribution parameter
further optional arguments
If the distribution is Normal
, then
the mean is assumed to be
.
# NOT RUN {
probability_density_function(Normal(), 1, 50, .3)
# }
Run the code above in your browser using DataLab