update.pcrfit {qpcR}R Documentation

Updating and refitting a qPCR model

Description

Updates and re-fits a model of class 'pcrfit'.

Usage

## S3 method for class 'pcrfit':
update(object, ..., evaluate = TRUE)

Arguments

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

Value

An updated model of class 'pcrfit' and 'nls'.

Author(s)

Andrej-Nikolai Spiess

See Also

The function pcrfit in this package.

Examples

m <- pcrfit(reps, 1, 2, l4)

## update model
update(m, model = baro5)

## update qPCR run
update(m, fluo = 20)

## update data
update(m, data = guescini1) 

## update 'optim' method
update(m, opt.method = "GA")   

[Package qpcR version 1.2-4 Index]