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