R/gtoxHillVal.R

Defines functions gtoxHillVal

Documented in gtoxHillVal

#####################################################################
## This program is distributed in the hope that it will be useful, ##
## but WITHOUT ANY WARRANTY; without even the implied warranty of  ##
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the    ##
## GNU General Public License for more details.                    ##
#####################################################################

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

#' @rdname hill_utils
#' @export

gtoxHillVal <- function(logc, tp, ga, gw, bt=0) {

    bt + (tp - bt)/(1 + 10^((ga - logc)*gw))

}

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

Try the GladiaTOX package in your browser

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

GladiaTOX documentation built on Nov. 15, 2020, 2:07 a.m.