residuals.bayescomm
extracts model residuals from a bayescomm
object.
Residuals are calculated based on the mean of the posterior probability of presence.
"residuals"(object, ...)
bayescomm
object
BC
m1 <- example(BC)[[1]]
m1.res <- residuals(m1)
Run the code above in your browser using DataLab