slowworm: The slow worm data from Beni Schmidt

slowwormR Documentation

The slow worm data from Beni Schmidt

Usage

data("slowworm")

Format

has ssDF and scrFrame for the slowworm

Details

Don't use the ssDF that comes with the data object. Rather, use the make.ssDF function to create a new one as below.

References

Sutherland and Royle book chapter. Meier thesis. Schmidt et al. manuscript.

Examples




########################################################
### The following analyiss produces what is used in the Sutherland and Royle chapter
###########################

load("slowworm.RData")
ssDF.new <- make.ssDF(scrFrame, res=10, buffer=75)
 
temp1 <-  oSCR.fit(scrFrame, model=list(D~1,p0~1,a1~1),ssDF=ssDF.new, plotit=FALSE, multicatch=TRUE)

p0.hat<- plogis(temp1$outStats[1,3])
sigma.hat<- sqrt(1/(2*exp(temp1$outStats[2,3])))

d0<- exp(temp1$outStats[3,3])
Nhat<- d0*nrow(ssDF.new[[1]])
Dhat<- (d0/100)*10000

y<- flatten(y1)
otis(y)


jaroyle/oSCR documentation built on Sept. 23, 2023, 12:46 p.m.