fitDistSampModel uses the package Rdistance to fit a conventional distance-sampling model. Create similar functionality to fit hierarchical distance-sampling models using package unmarked and ubms. Both unmarked and ubms use very similar syntax, so accommodating both is likely worth doing, even though ubms's ability to fit a Bayesian model with priors for detection parameters is the main motivation.
fitDistSampModeluses the packageRdistanceto fit a conventional distance-sampling model. Create similar functionality to fit hierarchical distance-sampling models using packageunmarkedandubms. Bothunmarkedandubmsuse very similar syntax, so accommodating both is likely worth doing, even thoughubms's ability to fit a Bayesian model with priors for detection parameters is the main motivation.