Learn R Programming

drc (version 0.8-2)

update.drc: 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'.

Examples

Run this code
model1 <- multdrc(FA, fct=g4())
model2 <- update(model1, fct=g3())  # updating 'model1' and re-fitting
anova(model2, model1)

rm(model1, model2)

Run the code above in your browser using DataLab