Description Usage Arguments Value Examples
View source: R/checkMeanVarTrend.R
Quickly check if the mean variance trend provides a good fit
1 2 | 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
1 2 3 4 5 | 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.