| meanlist {qpcR} | R Documentation |
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.
meanlist(object, group, type = c("mean", "median"))
object |
an object of class 'modlist'. |
group |
a vector defining the replicates for each group. |
type |
how to average the data. |
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.
An object of class 'modlist' containing the averaged models of class 'nls'/'pcrfit'.
Andrej-Nikolai Spiess
ml <- modlist(reps, model = l4) res <- meanlist(ml, group = gl(7, 4)) plot(res) efficiency(res[[1]])