powered by
Summarises a qtag object such that one value exists for every unique qualifier combination. This is useful for summarising replicates.
# S3 method for qtag.long aggregate(x, ..., force = TRUE)# S3 method for qtag.wide aggregate(x, ..., force = TRUE)
# S3 method for qtag.wide aggregate(x, ..., force = TRUE)
A qtag object
A parameter including at least one unnamed parameter for summarising values. Additional parameters may be used for aggregating a long format.
Use force=FALSE to only aggregate if the object is not already summarised.
force=FALSE
A (possibly unchanged) qtag object
qtag
# NOT RUN { data(pocmaj) pocmajqt <- as.qtag(pocmaj, id.vars=c("core", "depth")) aggregate(pocmajqt) aggregate(pocmajqt, mean) aggregate(long(pocmajqt), mean, sd, length) # }
Run the code above in your browser using DataLab