Learn R Programming

tcplfit2 (version 0.1.9)

calcempirical_top: 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)

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

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.)

Examples

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

Run the code above in your browser using DataLab