Density, distribution function, quantile function and random generation
for the Student-t distribution with location mu
, scale sigma
,
and degrees of freedom df
.
dstudent_t(x, df, mu = 0, sigma = 1, log = FALSE)
pstudent_t(q, df, mu = 0, sigma = 1, lower.tail = TRUE, log.p = FALSE)
qstudent_t(p, df, mu = 0, sigma = 1, lower.tail = TRUE, log.p = FALSE)
rstudent_t(n, df, mu = 0, sigma = 1)
Vector of quantiles.
Vector of degrees of freedom.
Vector of location values.
Vector of scale values.
Logical; If TRUE
, values are returned on the log scale.
Vector of quantiles.
Logical; If TRUE
(default), return P(X <= x).
Else, return P(X > x) .
Logical; If TRUE
, values are returned on the log scale.
Vector of probabilities.
Number of draws to sample from the distribution.
See vignette("brms_families")
for details
on the parameterization.