Number of groups specified < 1

posts related to the RMark library, which may not be of general interest to users of 'classic' MARK

Number of groups specified < 1

Postby monicaarso » Mon Dec 18, 2017 12:44 pm

Dear all,
I get the following error when trying to import .Rinp into MARK:
"Number of groups specified <1"

The Rinp file is a result of an export.MARK command for a set of robust design models:
Code: Select all
export.MARK(rd.process.nohet,"RDAdultsnohet19892015",allmodels,replace=TRUE)


And in case it helps the set up for these models is as below. As you can see there is no group definition because there are no groups in this case. Any help on why this error prompts would be great (this is a reanalysis of previously analyzed data and I had never seen this error before). Many thanks!

Code: Select all
#Call mark dataframe
rd.data19892015_Adults<-markdata
#Process data specifying primary and secondary capture occasions
time.intervals=c(0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0)
rd.process.nohet=process.data(rd.data19892015_Adults,begin.time=1989,model="Robust",time.intervals=time.intervals)
#Create the design data
rd.ddl.nohet=make.design.data(rd.process.nohet)
rd.ddl.nohet=add.design.data(rd.process.nohet,rd.ddl.nohet,parameter="GammaPrime",type="time",bins=c(1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2013,2014,2015),right=FALSE, name="constrain",replace=TRUE)
rd.ddl.nohet=add.design.data(rd.process.nohet,rd.ddl.nohet,parameter="GammaDoublePrime",type="time",bins=c(1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2013,2014,2015),right=FALSE, name="constrain",replace=TRUE)
monicaarso
 
Posts: 33
Joined: Wed Feb 22, 2012 2:58 pm

Return to RMark

Who is online

Users browsing this forum: No registered users and 17 guests

cron