meanlist: Amalgamation of single data models into an averaged model
Description
Starting from a 'modlist' containing qPCR models from single data, meanlist amalgamates
the models according to the grouping structure as defined in group. The result
is a 'modlist' with models obtained from averaging the replicates by pcrfit.
Usage
meanlist(object, group, type = c("mean", "median"))
Arguments
object
an object of class 'modlist'.
group
a vector defining the replicates for each group.
type
how to average the data.
Value
An object of class 'modlist' containing the averaged models of class 'nls'/'pcrfit'.
encoding
latin1
Details
As being defined by group, the average data of the curves is subjected to pcrfit and a new modlist with the
averaged models is created. Similar to replist but does not contain the replicates within the 'nls' model but the averaged
model with only ONE curve.