powered by
Density for the skew normal distribution with location xi, scale omega, and shape alpha.
xi
omega
alpha
dsnorm(x, xi, omega, alpha, logC = 0, log = FALSE)
A numeric vector of (log) density values.
Vector of quantiles.
Location parameter.
Scale parameter.
Shape parameter.
Log-normalization constant.
Logical; if TRUE, returns the log density.
https://en.wikipedia.org/wiki/Skew_normal_distribution
x <- seq(-2, 5, length.out = 100) y <- dsnorm(x, xi = 0, omega = 1, alpha = 5) plot(x, y, type = "l", main = "Skew Normal Density")
Run the code above in your browser using DataLab