checkMeanVarTrend: Quickly check if the mean variance trend provides a good fit

Description Usage Arguments Value Examples

View source: R/checkMeanVarTrend.R

Description

Quickly check if the mean variance trend provides a good fit

Usage

1
2
checkMeanVarTrend(data, meanVarFit = "spline", returnTrend = FALSE,
  ...)

Arguments

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

Value

A plot object

Examples

1
2
3
4
5
data(Zhang)
par(mfrow = c(1,2))
lapply(list("microbiome" = zhangMicrobio, "metabolome" = zhangMetabo),
 checkMeanVarTrend)
 par(mfrow = c(1,1))

combi documentation built on Nov. 8, 2020, 5:34 p.m.