Hello,
I’m using the communityModel function from the camtrapR package but cannot access certain derived quantities like bpvalue and r2 from the model output. Could you help clarify how to extract these values or if they require additional steps to compute?
Example of my code:
mod.jags <- communityModel(
data_list,
occuCovs = list(ranef = c("distHidro", "distHab")),
detCovsObservation = list(ranef = "effort"),
detCovs = list(ranef = c("CTcode", "trail")),
intercepts = list(det = "ranef", occu = "ranef"),
modelFile = modelfile1)
fit.jags <- fit(
mod.jags,
n.iter = 50000,
n.burnin = 5000,
chains = 3)
Thank you for your assistance!