% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/smsncut.R
\name{smsn_cdf}
\alias{smsn_cdf}
\title{CDF of an SMSN distribution}
\usage{
smsn_cdf(x, theta, family = c("SN", "ST"))
}
\arguments{
\item{x}{Numeric vector of evaluation points.}

\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 CDF values in \eqn{[0,1]}.
}
\description{
Evaluates the cumulative distribution function 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_cdf(c(-1, 0, 1, 2), theta_sn, "SN")
}
