Learn R Programming

BayesComm (version 0.1-2)

residuals.bayescomm: Extract bayescomm model residuals

Description

residuals.bayescomm extracts model residuals from a bayescomm object. Residuals are calculated based on the mean of the posterior probability of presence.

Usage

"residuals"(object, ...)

Arguments

object
a bayescomm object
...
other arguments

See Also

BC

Examples

Run this code
m1 <- example(BC)[[1]]
m1.res <- residuals(m1)

Run the code above in your browser using DataLab