secr.fit default buffer shape

questions concerning anlysis/theory using program DENSITY and R package secr. Focus on spatially-explicit analysis.

secr.fit default buffer shape

Postby murray.efford » Wed Mar 06, 2013 12:27 am

Kaneko Fumihiro asked about the shape of the mask created automatically by secr.fit when the 'buffer' argument is specified (rectangular vs union of circular buffers around traps).

I replied something like this: "The 'buffer' setting is a handy alternative to providing a mask. If 'buffer' is used then secr.fit itself calls make.mask with the default type = 'traprect', a rectangular area. You can verify this by looking at the code for secr.fit or by plotting the mask that is routinely saved as a component of a fitted model, e.g.
Code: Select all
plot(secrdemo.0$mask)

"The alternative is got by pre-building a mask with make.mask, setting type = 'trapbuffer', and passing that to secr.fit in the mask argument (not setting 'buffer'). This should probably be the default for secr.fit (it recently became the default in DENSITY) and certainly should be documented."

Murray
murray.efford
 
Posts: 712
Joined: Mon Sep 29, 2008 7:11 pm
Location: Dunedin, New Zealand

Return to analysis help

Who is online

Users browsing this forum: No registered users and 1 guest

cron