Evan
Good to hear from you. Your search for variance components is probably not going to be satisfied by going through the variance covariance information produced by
dht
.
The code below takes a longer journey, but I think it produces what you want. It follows the calculations based around CVs as presented in our introductory distance sampling workshop lecture on precision (slide 32).
I've used an example data set provided with the mrds
package and ferreted the necessary bits of model output to compute the percentage of abundance estimate uncertainty associated with the detection function and encounter rate. Hope this is helpful.
library(mrds)
data(book.tee.data)
region <- book.tee.data$book.tee.region
egdata <- book.tee.data$book.tee.dataframe
samples <- book.tee.data$book.tee.samples
obs <- book.tee.data$book.tee.obs
# fit an independent observer model with full independence
meta.data=list(width = 4))
cv.er <- out$individuals$summary[3,"cv.ER"]
cv.N <- out$individuals$N[3, "cv"]
prop.p <- as.numeric(cv.p)^2 / cv.N^2 * 100
print(paste(round(prop.p,2), round(prop.er,2)))