R/tcplHillConc.R

Defines functions tcplHillConc

Documented in tcplHillConc

#-------------------------------------------------------------------------------
# tcplHillConc: Calculate the concentration for a given value
#-------------------------------------------------------------------------------

#' @rdname hill_utils
#' @export

tcplHillConc <- function(val, tp, ga, gw, bt = 0) {
  
  ga - log10((tp - bt)/(val - bt) - 1)/gw
  
}

#-------------------------------------------------------------------------------

Try the tcpl package in your browser

Any scripts or data that you put into this service are public.

tcpl documentation built on Oct. 7, 2023, 1:06 a.m.