checkMeanVarTrend {combi} | R 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))

[Package combi version 0.99.15 Index]