calcempirical_top: Empirically locate top and top concentration

View source: R/calcempirical_top.R

calcempirical_topR Documentation

Empirically locate top and top concentration

Description

Locate the top and the concentration at which top occurs empirically by sampling points within the experimental concentration range.

Usage

calcempirical_top(conc, ps, fname, precision = 100)

Arguments

conc

Vector of concentrations

ps

Vector of parameters, must be in order: a, tp, b, ga, p, la, q, er

fname

Model function name (equal to model name except hill which uses "hillfn")

precision

Number of points sampled on the base-10 logarithmic scaled experimental concentration range. (Defaults to 100.)

Value

A named list of the top and top concentration. The elements of the list are:

  • top - empirical top

  • x_top - concentration at which empirical top occurs

Examples

conc = c(.03,.1,.3,1,3,10,30,100)
ps = c(1,2,1,2,2)
fname = "gnls"
calcempirical_top(conc, ps, fname)

tcplfit2 documentation built on June 8, 2025, 12:32 p.m.