Learn R Programming

nCal (version 2021.9-12)

ED5PL: Functions Related to 5PL Function

Description

5PL functions.

Usage

FivePL.t (t,param)
FivePL.t.func (param) 
FivePL.x (x,param)
FivePL.x.inv (y,param)
FivePL.x.inv.func (param)
FivePL.t.inv (y,param) 
FivePL.t.inv.func (param) 
FourPL.x.inv (y, param)  
FourPL.x (x, param)
FourPL.t.func (param)
cla2gh (param)
gh2cla (param)
cla2ed50 (param)
cla2ed50b (param)
ed502cla (param)
ed50b2cla (param)
get.curve.param.list (param)
simulate1curve (param, t, sd.e=0.1, expy=TRUE, gamma=0) 
vpl1.deriv (x,param)
vpl1.deriv.func (param)
vpl2.deriv (x,param)
vpl2.deriv.func (param)
vpl3.deriv (x,param)
vpl3.deriv.func (param)

ED5PL (param, tao)

Arguments

param

vector of numbers. Parameters of the 5PL curve.

t

numeric vector. Log concentrations.

x

numeric vector. Concentrations.

y

numeric vector. Response.

sd.e

sd.e

tao

vector of numbers or single number. Effective doses. Vectorized for this argument.

expy

Boolean. Controls whether to exponentiate y

gamma

power variance function parameter

Details

FivePL.t and other functions are vectorized for the x and the y arguments.

Four parameterizations are implemented. Classical: b,c,d,e,f gh: c,d,f,g,h ED50: c,d,f,b,tao(ED50) ED50b: c,d,f,h,tao(ED50). This is called tao-h in Cumberland et al. (2014)

Examples

Run this code
# NOT RUN {
FivePL.t(5:6, p.eotaxin[1,])
FivePL.t.func(p.eotaxin[1,])
FivePL.x.inv(c(4,5,11), p.eotaxin[1,])
FivePL.t.inv.func(p.eotaxin[1,])



# }

Run the code above in your browser using DataLab