density for each transect?

45 views
Skip to first unread message

M Borja

unread,
May 2, 2025, 2:34:41 PMMay 2
to distance-sampling
Hi, good morning to every one.
I have just joined this group.
I saw in a Table of a paper that a calculation of density appeared for each of the transects performed for different species.
Can this be obtained using Distance software?
Thanks in advance
 M. Molina

Eric Rexstad

unread,
May 3, 2025, 1:49:07 PMMay 3
to M Borja, distance-sampling
Greetings and welcome to the list.

Can you clarify what you mean by "Distance software"? We have a stand-alone program that runs under the Windows operating system. But we also have an R package called "Distance".

Using the R package, one of the components of the fitted model object coming from the "ds()" function is something called "bysample"


From: distance...@googlegroups.com <distance...@googlegroups.com> on behalf of M Borja <moli...@gmail.com>
Sent: 02 May 2025 08:34
To: distance-sampling <distance...@googlegroups.com>
Subject: [distance-sampling] density for each transect?
 
--
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 visit https://groups.google.com/d/msgid/distance-sampling/0878c952-84ae-443c-957f-0c6770d43302n%40googlegroups.com.

Eric Rexstad

unread,
May 3, 2025, 1:54:33 PMMay 3
to M Borja, distance-sampling
I wasn't quite finished with the previous email:

Greetings and welcome to the list.

Can you clarify what you mean by "Distance software"? We have a stand-alone program that runs under the Windows operating system. But we also have an R package called "Distance".

Using the R package, one of the components of the fitted model object coming from the "ds()" function is something called "bysample"

library(Distance)
data(ducknest)
cu <- convert_units("meter", "kilometer", "square kilometer")
result <- ds(data=ducknest, key="hn", convert_units = cu)
print(head(result$dht$individuals$bysample))
Region Sample Effort Sample.Area  Area  n     Nhat    Nchat     Dhat Default      1 128.75       12.36 12.36 27 31.05775 31.05775 2.512763 Default     10 128.75       12.36 12.36 17 19.55488 19.55488 1.582110 Default     11 128.75       12.36 12.36 25 28.75718 28.75718 2.326633 Default     12 128.75       12.36 12.36 20 23.00574 23.00574 1.861306 Default     13 128.75       12.36 12.36 22 25.30632 25.30632 2.047437 Default     14 128.75       12.36 12.36 26 29.90747 29.90747 2.419698

Using Distance for Windows, you might be able to obtain similar estimates by transect using this specification for the model definition


From: Eric Rexstad <Eric.R...@st-andrews.ac.uk>
Sent: 03 May 2025 18:48
To: M Borja <moli...@gmail.com>; distance-sampling <distance...@googlegroups.com>
Subject: Re: [distance-sampling] density for each transect?
 
Reply all
Reply to author
Forward
0 new messages