05 February 2020 0 935 Report

I have the latest version of RMARK and MARK installed on my computer and the example code from https://rdrr.io/cran/RMark/man/PoissonMR.html runs perfectly. However, when I try to run the code using mock data that I have created I get an output that has "Not a number" where the values of the estimate, se and the confidence intervals should be for alpha, sigma, U etc. Another error message I keep getting is " Number of unmarked seen values specified > number of occacsions." I am working with a data set that has 6 occasions and 67 individuals, but RMARK doesn't run when I list 6 occurrences in the "unmakred seen" etc. sections. This was a camera trap study, so every individual was considered "marked" once a picture of them was recorded, therefore I don't have any "unmakred" individuals and I also don't know the number of known individuals in the population. Every individual was identified.

This is my code

mock.proc=process.data(PoissonMR,model="PoissonMR",

counts=list("Unmarked Seen"=c(0,0,0,0,0,0),

"Marked Unidentified"=c(0,0,0,0,0,0),

"Known Marks"=c(0,0,0,0,0,0)))

mock.ddl=make.design.data(cats.mock.proc)

mock.mod=mark(mock.proc,mock.ddl,

model.parameters=list(Phi=list(formula=~1,link="sin"),

GammaDoublePrime=list(formula=~1,share=TRUE,link="sin"),

alpha=list(formula=~-1+time,link="log"),

U=list(formula=~-1+time,link="log"),

sigma=list(formula=~-1+time,link="log")),

threads=2)

Does anyone know what might be causing this?

I've also attached my data as a csv.

More Hannah Clyde's questions See All
Similar questions and discussions