expcomp: Comparison of all sigmodal models within the exponential...

Description Usage Arguments Details Value Author(s) Examples

Description

The exponential region of the qPCR data is identified by the studentized outlier method, as in expfit. The root-mean-squared-error (RMSE) of all available sigmoidal models within this region is then calculated. The result of the fits are plotted and models returned in order of ascending RMSE.

Usage

1
expcomp(object, ...)

Arguments

object

an object of class 'pcrfit'.

...

other parameters to be passed to expfit.

Details

The following sigmoidal models are fitted: b4, b5, b6, b7, l4, l5, l6, l7

Value

A dataframe with names of the models, in ascending order of RMSE.

Author(s)

Andrej-Nikolai Spiess

Examples

1
2
m1 <- pcrfit(reps, 1, 2, l4)
expcomp(m1)

Example output

Loading required package: MASS
Loading required package: minpack.lm
Loading required package: rgl
Loading required package: robustbase
Loading required package: Matrix
Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl.init' failed, running with 'rgl.useNULL = TRUE'. 
[1] "Fitting all sigmoidal models..."
[1] "pcrfit" "nls"   
[1] "pcrfit" "nls"   
[1] "pcrfit" "nls"   
[1] "pcrfit" "nls"   
[1] "pcrfit" "nls"   
[1] "pcrfit" "nls"   
[1] "pcrfit" "nls"   
[1] "pcrfit" "nls"   
[1] "pcrfit" "nls"   
      model       RMSE      
 [1,] "expGrowth" 0.02563013
 [2,] "l7"        0.0318312 
 [3,] "b4"        0.03600827
 [4,] "b7"        0.03693863
 [5,] "b5"        0.04357632
 [6,] "b6"        0.04890631
 [7,] "l5"        0.05038139
 [8,] "l6"        0.06010774
 [9,] "l4"        0.08663629

qpcR documentation built on May 2, 2019, 5:17 a.m.

Related to expcomp in qpcR...