R Distance detection probability plots

已查看 29 次
跳至第一个未读帖子

Rowdy White

未读,
2021年5月26日 09:51:562021/5/26
收件人 distance-sampling
This is probably just me being dense, but I'm unable to find a way to plot just the detection curve and not the histogram using Distance in R. Can someone point me in the right direction?

David Lawrence Miller

未读,
2021年5月26日 10:52:082021/5/26
收件人 Rowdy White、distance-sampling
Hi Rowdy, hi listfolk,

You're certainly not being dense! I've just not implemented that option.
I'll look into it and see if we can include it in the next release.

If you need that feature urgently, can you ping me off-list and I'll see
what I can do.

cheers,
--dave
> --
> 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
> <mailto:distance-sampl...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/distance-sampling/419d2e74-b311-4606-8a99-979a4666e63cn%40googlegroups.com
> <https://groups.google.com/d/msgid/distance-sampling/419d2e74-b311-4606-8a99-979a4666e63cn%40googlegroups.com?utm_medium=email&utm_source=footer>.

David Lawrence Miller

未读,
2021年5月28日 13:27:432021/5/28
收件人 Rowdy White、distance-sampling
Hi Rowdy, hi listfolk,

In looking further I realised one can do this, I'd not realised it was a
bit more straightforward than I thought...

Setting the border option to white will remove the border for the
histogram and setting pl.col will remove the grey shading inside the
bars. For example:


library(Distance)
data(book.tee.data)
tee.data <- subset(book.tee.data$book.tee.dataframe, observer==1)
ds.model <- ds(tee.data, 4)
plot(ds.model, pl.col="white", border="white", showpoints=FALSE)

R will make a few complaints (about graphical parameters) but this
should work.

Hope this helps!

cheers,
--dave
回复全部
回复作者
转发
0 个新帖子