Closed areeder8 closed 7 years ago
Are you willing to retry using package VAST? SpatialDeltaGLMM is basically deprecated and VAST can do everything it did plus more.
On Oct 9, 2017 5:02 PM, "areeder8" notifications@github.com wrote:
I'm trying to run through the example script and this line: Index = PlotIndex_Fn( DirName=DateFile, TmbData=TmbData, Sdreport=Opt[["SD"]], Year_Set=Year_Set, Years2Include=Years2Include, strata_names=strata.limits[,1], use_biascorr=TRUE )
gives this error: Error in TmbData$t_i[, 1] : incorrect number of dimensions
I'm not sure what i can do to fix this error. Thanks!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nwfsc-assess/geostatistical_delta-GLMM/issues/22, or mute the thread https://github.com/notifications/unsubscribe-auth/AHnqTX1r8TgSPTcslNjEHbDALrpKhZesks5sqrP1gaJpZM4PzNAy .
Yes that is no problem. Looking through the VAST example I see Index = SpatialDeltaGLMM::PlotIndex_Fn( DirName=DateFile, TmbData=TmbData, Sdreport=Opt[["SD"]], Year_Set=Year_Set, Years2Include=Years2Include, use_biascorr=TRUE ) would that be the code I would use?
I have used that code and it seems to be working!
I'm trying to run through the example script and this line: Index = PlotIndex_Fn( DirName=DateFile, TmbData=TmbData, Sdreport=Opt[["SD"]], Year_Set=Year_Set, Years2Include=Years2Include, strata_names=strata.limits[,1], use_biascorr=TRUE )
gives this error: Error in TmbData$t_i[, 1] : incorrect number of dimensions
I'm not sure what i can do to fix this error. Thanks!