% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/smsncut.R
\name{smsn_quantile}
\alias{smsn_quantile}
\title{Quantile function of an SMSN distribution}
\usage{
smsn_quantile(prob, theta, family = c("SN", "ST"))
}
\arguments{
\item{prob}{Numeric vector of probabilities in \eqn{(0,1)}.}

\item{theta}{Numeric vector of unconstrained parameters. Length 3 for SN,
length 4 for ST.}

\item{family}{Character string, either \code{"SN"} or \code{"ST"}.}
}
\value{
Numeric vector of quantiles.
}
\description{
Returns quantiles of a skew-normal (SN) or skew-t (ST) distribution at
the unconstrained parametrisation \eqn{\theta = (\xi, \log\omega, \alpha)}
for SN, or \eqn{\theta = (\xi, \log\omega, \alpha, \log(\nu-2))} for ST.
}
\examples{
theta_sn <- c(0, log(1), 1.5)
smsn_quantile(c(0.025, 0.5, 0.975), theta_sn, "SN")
}
