Hi all,
I am attempting to assess the goodness of fit of CJS to my dataset using R2ucare. However, I am receiving the error: "Error in rep(NA,K-2):invalid 'times' argument". This occurs when I'm trying to define the function: mydata.ucare.cjs=overall_CJS(mydata)
My dataset is very simple--just a binary ch where each row is an individual, each column is a primary sampling occasion, 1 for observed, 0 for unobserved. I've gone through my dataset and see no abnormalities in the file I have imported to RMark and I don't receive any errors while running CJS or other models.
I'm sure there must be a simple solution that I am overlooking here. Can someone please offer me some insight?