Dsims error for run.simulation

Skip to first unread message


Nov 3, 2022, 2:37:43 PM11/3/22
to distance-sampling
I am new to distance sampling and am learning dsims as I run through the various tutorials and vignettes but adapting them to my survey design. I am attempting to run simulations to compare the use of different strata using the same survey design and population descriptions. When I run a single instance of a simulation using run.survey, things display correctly. However, when I attempt to run.simulation, it is giving me the following error: 

Error in Distance::unflatten(dist.data) :
  Region areas are not consistent.

Can anyone provide some context about why dsims might be giving me this error? Thanks!

Laura Marshall

Nov 3, 2022, 5:48:38 PM11/3/22
to Janet, distance-sampling
Hi Janet,

This sounds like an issue with the data generation in dsims, the error is then generated at the analysis stage.
Can you please send me your code / additional files off list directly to l...@st-andrews.ac.uk and I'll take a look.

Kind regards,

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.

From: distance...@googlegroups.com <distance...@googlegroups.com> on behalf of Janet <jlmo...@dal.ca>
Sent: 03 November 2022 18:37
To: distance-sampling <distance...@googlegroups.com>
Subject: [distance-sampling] Dsims error for run.simulation
You received this message because you are subscribed to the Google Groups "distance-sampling" group.
To unsubscribe from this group and stop receiving emails from it, send an email to distance-sampl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/distance-sampling/153ed7ae-4a22-4454-9a55-4fe6c0441e28n%40googlegroups.com.
Reply all
Reply to author
0 new messages