Learn R Programming

nCal (version 0.3-2)

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)
ed502cla (param)
get.curve.param.list (param)
simulate1curve (param, t, sd.e=0.1) 
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.

Details

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

Examples

Run this code
library(RUnit)





checkEqualsNumeric(FivePL.t(5:6, p.eotaxin[1,]), c(8.118479, 9.178339), tolerance=1e-6)
checkEqualsNumeric(FivePL.t.func(p.eotaxin[1,])(5:6), c(8.118479, 9.178339), tolerance=1e-6)


checkEqualsNumeric(FivePL.x.inv(c(4,5,11), p.eotaxin[1,]), c(0,10.35459,Inf), tolerance=1e-5)

FivePL.t.inv.func(p.eotaxin[1,])

Run the code above in your browser using DataLab