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 |
... |
other arguments |
See Also
Examples
m1 <- example(BC)[[1]]
m1.res <- residuals(m1)
[Package BayesComm version 0.1-2 Index]