R/target-distributions.R

Defines functions pgumbel pgompertz

Documented in pgompertz pgumbel

#' Gompertz cdf python function
#' @export
pgompertz <- function(x) {
  1 - tf$math$exp(-tf$math$exp(x))
}

#' Gumbel cdf python function
#' @export
pgumbel <- function(x) {
  tf$math$exp(-tf$math$exp(-x))
}
LucasKook/ontram-pkg documentation built on March 28, 2023, 5:38 a.m.