Dr. L Marshall
Centre for Research into Ecological & Environmental Modelling
University of St. Andrews
Tel: +44 (0)1334 461808
Please note that my core working hours are now concentrated between 9am Tuesday and 1pm Thursday. There may be a delay in my response to E-mails outwith these times.
#model to estimate number of individuals
> fm_repeats0_Nhat<-bootdht(model = hn0,
+ flatfile = GCPA_data,
+ convert_units= unit_conversion,
+ summary_fun = bootdht_Nhat_summarize,
+ nboot = 100,
+ multipliers = multiplier,
+ cores = 4)
Performing 100 bootstraps
Progress bars cannot be shown when using cores>1
> #Final estimates for number of individuals from distance sampling with availability multiplier
> summary(fm_repeats0_Nhat)
Bootstrap results
Boostraps : 100
Successes : 0
Failures : 100
dht2 in the past month. Can you tell us, maybe offline, what version of Distance you are using? Probably send same information regarding version of
mrds package as well. Are you using versions from CRAN or pulling them from Github.bootdht. The work-around might be useful to others in his situation.distbegin and distend in his data file. This caused
bootdht to fail. (We have logged this as a bug). distbegin and distend fields in the data with the average of the two, labelling that field
distance. You can then fit your detection function (using ds) using the
cutpoints argument in ds to establish the distance intervals in which the distances were measured.distbegin and distend manner for recording distances in data is really only necessary in the rare situation when distance interval cutpoints change between observations, e.g. aerial surveys with changing altitude.