Learn R Programming

qpcR (version 1.4-1)

update.pcrfit: Updating and refitting a qPCR model

Description

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

Usage

# S3 method for 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'.

See Also

The function pcrfit in this package.

Examples

Run this code
# NOT RUN {
m1 <- pcrfit(reps, 1, 2, l4)

## Update model.
update(m1, model = l5)

## Update qPCR run.
update(m1, fluo = 20)

## Update data.
update(m1, data = guescini1)    
# }

Run the code above in your browser using DataLab