View source: R/checkMeanVarTrend.R
checkMeanVarTrend | R Documentation |
Quickly check if the mean variance trend provides a good fit
checkMeanVarTrend(data, meanVarFit = "spline", returnTrend = FALSE, ...)
data |
Data in any acceptable format (see details ?combi) |
meanVarFit |
The type of mean variance fit, either "cubic" or "spline" |
returnTrend |
A boolean, should the estimated trend be returned (TRUE) or only plotted (FALSE)? |
... |
passed on to the estMeanVarTrend() function |
A plot object
data(Zhang)
par(mfrow = c(1,2))
lapply(list("microbiome" = zhangMicrobio, "metabolome" = zhangMetabo),
checkMeanVarTrend)
par(mfrow = c(1,1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.