R/drm_LL3.R

Defines functions drm_LL3

Documented in drm_LL3

#' @title dose-response models.
#' @description Built-in dose-response models. These models are
#' parameterized using a unified structure with a coefficient b denoting the
#' steepness of the dose-response curve, d the upper asymptotes or
#' limits of the response, and, for some models, e the effective dose.
#'
#'
#' @param x valve position
#' @param b steepness
#' @param d upper value
#' @param e the effective dose
#'
#' @return ll3
#' @export
#'
#' @examples
#' drm_LL3( 50, -2.39, 1.39, 67.42 )
drm_LL3 <- function(x,b,d,e){
  ll3 <- d/(1+exp(b*(log(x)-log(e))))
  return(ll3)
}
ratral/hyd4gpv documentation built on Feb. 5, 2022, 10:30 p.m.