meanlist {qpcR}R Documentation

Amalgamation of single data models to a model containing the 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.

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.

Value

An object of class 'modlist' containing the averaged models of class 'nls'/'pcrfit'.

Author(s)

Andrej-Nikolai Spiess

See Also

modlist, replist.

Examples

ml <- modlist(reps, model = l4)
res <- meanlist(ml, group = gl(7, 4))
plot(res)
efficiency(res[[1]])

[Package qpcR version 1.2-4 Index]