Learn R Programming

RaceID (version 0.3.9)

plotPearsonRes: Function for plotting the variance of Pearson residuals

Description

This function plots the variance versus the mean of the Pearson residuals obtained by the negative binomial regression computed by the function compY if regNB is TRUE. A local regression is also shown.

Usage

plotPearsonRes(y, log = FALSE, ...)

Value

None

Arguments

y

List object returned by the compNoise or pruneKnn function (if run with regNB=TRUE).

log

logical. If TRUE then the y-axis is log-transformed. Default is FALSE.

...

Additional arguments for plot.

Examples

Run this code
res <- pruneKnn(intestinalDataSmall,no_cores=1)
plotPearsonRes(res,log=TRUE)

Run the code above in your browser using DataLab