Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

## S3 method for class 'drc'
update(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 <- drm(ryegrass, fct = W1.4())

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

drc

Analysis of Dose-Response Curves

v3.0-1
GPL-2 | file LICENCE
Authors
Christian Ritz <ritz@bioassay.dk>, Jens C. Strebig <streibig@bioassay.dk>
Initial release
2016-08-25

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.