#' The Student t Distribution
#'
#' Makes a distribution belonging to the family of
#' t distributions.
#'
#'@param df Degrees of freedom; positive.
#'
#'@examples
#' dst_t(3)
#'
#'@export
dst_t <- function(df){
if (df <= 0) {
stop('df must be positive.')
}
dst_parametric("t", df = df, .variable = "continuous", .env = "package:stats")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.