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

View source: R/checkMeanVarTrend.R

checkMeanVarTrendR Documentation

Quickly check if the mean variance trend provides a good fit

Description

Quickly check if the mean variance trend provides a good fit

Usage

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

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

CenterForStatistics-UGent/compIntegrate documentation built on Aug. 4, 2023, 1:08 p.m.