Page 1 of 1

R2ucare error in RMark

PostPosted: Sat Oct 31, 2020 11:32 am
by statsfordays
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?

Re: R2ucare error in RMark

PostPosted: Sat Oct 31, 2020 12:06 pm
by jlaake
R2ucare is not part of RMark. Sorry but can't help.

Re: R2ucare error in RMark

PostPosted: Sat Oct 31, 2020 1:55 pm
by statsfordays
Ahh, my mistake. I'll repost elsewhere.