update.drc {drc}R Documentation

Updating and re-fitting a model

Description

'update' updates and re-fits a model on the basis of an object of class 'drc'.

Usage

update.drc(object, ..., evaluate=TRUE)

Arguments

object an object of class 'drc'.
... arguments to alter in object.
evaluate logical. If TRUE model is re-fit; otherwise an unevaluated call is returned.

Value

An object of class 'drc'.

Author(s)

Christian Ritz

Examples


## Fitting a four-parameter Weibull model
model1 <- multdrc(FA, fct = w4())

## Updating 'model1' by fitting a three-parameter Weibull model
model2 <- update(model1, fct = w3())
anova(model2, model1)

rm(model1, model2)

[Package drc version 0.9-0 Index]