emaxsolve {clinDR}R Documentation

Solve Emax function for target value

Description

Solve the Emax function for dose or Emax to yield a specified response.

Usage

solveEmax(target,dose,led50,lambda,e0,pboadj=TRUE)
solveDose(target,led50,lambda,emax,e0,pboadj=TRUE)

Arguments

target

The targetted response. If the Emax model is specified on the logit scale for binary data, target and e0 must be logit transformed also.

dose

The dose yielding target. It is specifed for solveEmax, and returned for solveDose

led50, lambda, e0

Emax model parameters (ed50 log transformed)

emax

The Emax model parameter for solveDose. The value returned for solveEmax

pboadj

When TRUE, target is placebo-adjusted.

Author(s)

Neal Thomas

See Also

fitEmax, fitEmaxB, emaxsim, emaxsimB

Examples


e0<-10
dose<-1
led50<-log(0.5)
lambda<-2
target<- -1.5
emax<-solveEmax(target,dose,led50,lambda,e0)
emax

dose1<-solveDose(target,led50,lambda,emax,e0)
dose1

emaxfun(dose=dose1,parm=c(led50,lambda,emax,e0)) - e0


[Package clinDR version 2.3.5 Index]