Description Usage Arguments Details Value Examples
When supplied with a model object that has fitted
doseresponse lines for each of several levels of a factor,
extractLT
calls the function fieller
to calculate lethal time
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 
obj 

a 
Subscripts for intercepts. 
b 
Subscripts for corresponding slopes. 
link 
Link function, for use with objects where no
link was specified in the function call, but it is required
to backtransform a transformation that was performed prior
to the function call. Otherwise leave as 
logscale 
Logical. Specify 
p 
Target response proportion. 
eps 
Replace 
offset 
Use to undo scaling of time or dose variable. This is
passed to the 
df.t 
Degrees of freedom for a tdistribution approximation
for 't' or 'z' statistics. If NULL, a conservative (low) value will
be used. For linear (but not generalized linear) models and mixed
models, approximations are implemented in the afex package.
See 
lambda 
( 
Fixed coefficients from obj
must be for intercepts and
for slopes. Starting the model formula with 0+
will commonly
do what is required. The coefficients fixef(obj)[a]
are assumed
to specify line intercepts, while fixef(obj)[b]
specify the
corresponding slopes. These replace the arguments nEsts
(subscripts for intercepts were 1:nEsts)
and slopeAdd
(subscripts for slopes were (nEsts+1):(nEsts+slopeAdd)
).
Matrix holding LD or LD estimates.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15  pcheck < suppressWarnings(requireNamespace("glmmTMB", quietly = TRUE))
if(pcheck) pcheck & packageVersion("glmmTMB") >= "1.1.2"
if(pcheck){
form < cbind(Dead,Live)~0+trtGp/TrtTime+(1trtGpRep)
HawMed < droplevels(subset(HawCon, CN=="MedFly"&LifestageTrt!="Egg"))
HawMed < within(HawMed,
{trtGp < factor(paste0(CN,LifestageTrt, sep=":"))
trtGpRep < paste0(CN,LifestageTrt,":",RepNumber)
scTime < scale(TrtTime) })
HawMedbb.cll < glmmTMB::glmmTMB(form, dispformula=~trtGp+splines::ns(scTime,2),
family=glmmTMB::betabinomial(link="cloglog"),
data=HawMed)
round(qra::extractLT(p=0.99, obj=HawMedbb.cll, link="cloglog",
a=1:3, b=4:6, eps=0, df.t=NULL)[,2], 2)} else
message("Example requires `glmmTMB` version >= 1.1.2: not available")

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.