Skip to contents

Skew Normal Quantile Function

Usage

quant_skewnorm(x, location = 0, scale = 1, shape = 0, ..., mean, sd)

Arguments

x

A numeric vector of probabilities.

location

A numeric vector of the location parameter.

scale

A non-negative numeric vector of the scale parameter.

shape

A numeric vector of shape. Negative values result in leftward skew, while positive values result in rightward skew.

...

Unused.

mean

[Deprecated] A numeric vector of the location parameter. Described as "a numeric vector of the means" prior to to v. 0.10.1. Will be removed in a future version.

sd

[Deprecated] A non-negative numeric vector of the scale parameter. Described as "a non-negative numeric vector of the standard deviations" prior to v. 0.10.1. Will be removed in a future version.

Value

An numeric vector of the corresponding quantiles.

Examples

quant_skewnorm(c(0.1, 0.4, 0.6))
#> [1] -1.2815516 -0.2533471  0.2533471
quant_skewnorm(c(0.1, 0.4, 0.6), shape = -2)
#> [1] -1.6447994 -0.8332211 -0.4859789
quant_skewnorm(c(0.1, 0.4, 0.6), shape = 2)
#> [1] -0.1338113  0.4859789  0.8332211