R/core.R
core_normal_pdf.Rd
Vectorised over x; mean and sd are length-1.
x
mean
sd
core_normal_pdf(x, mean = 0, sd = 1)
Numeric vector of quantiles.
Distribution mean (length-1, default 0).
Distribution standard deviation (length-1, default 1, > 0).
A numeric vector the length of x. Equivalent to stats::dnorm(x, mean, sd).
stats::dnorm(x, mean, sd)
core_normal_pdf(c(-1, 0, 1)) #> [1] 0.2419707 0.3989423 0.2419707