R/Sstar_func_perc.R

Defines functions Sstar_func_perc

Documented in Sstar_func_perc

#' Difference between survival function and a given percentile
#'
#' @description Given a percentile perc, returns the difference between this percentile and the value of survival function
#' Useful for uniroot function
#' 
#' @export 
#' @keywords internal 
#'
#'


Sstar_func_perc <- function(z,perc,...) Sstar(x=z,...) - perc
CompARE-Composite/CompARE-package documentation built on March 4, 2025, 8:18 p.m.