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))
}
LucasKookUZH/ontram-pkg documentation built on March 27, 2023, 6:05 p.m.