Hi all,
So far I've been working fine with models using time-specific covariates (see
http://www.phidot.org/forum/viewtopic.php?f=36&t=4049 for further details on the background). However, this week I tried to run the code below and R produced the error
Error in [.default(DF, chr) : invalid subscript type 'list'. I do not know what the problem is because I followed the exact same steps as I did before, when it used to work. I attach the timecov dataset as a .csv file for further details. Any help will be really appreciated.
secr.negexp.time<-secr.fit(secr_data,model=list(g0~time),buffer=width,detectfn = 1,verify=F,timecov=timecov,start=start,method="Nelder-Mead",trace=F,CL=T)
Sincerely
Julien