residuals.bayescomm {BayesComm} | R Documentation |
residuals.bayescomm
extracts model residuals from a bayescomm
object.
Residuals are calculated based on the mean of the posterior probability of presence.
## S3 method for class 'bayescomm'
residuals(object, ...)
object |
a |
... |
other arguments |
m1 <- example(BC)[[1]]
m1.res <- residuals(m1)