residuals.bayescomm {BayesComm}R Documentation

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

## S3 method for class 'bayescomm'
residuals(object, ...)

Arguments

object

a bayescomm object

...

other arguments

See Also

BC

Examples

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

[Package BayesComm version 0.1-2 Index]