g0 Occasion Specific Estimates

Hey Everyone,
I seem to be having a bit of a mind cramp. I'm trying to the pull occasion specific estimates of g0 from my model, but I'm struggling to do so. I'm not too experienced with the intricacies of calling upon specific parts of a fitted model so I may not even be in the right ballpark. I tried copying and tweaking code from previous posts but no luck.
The model is (t + veg) with 4 sampling occasions. I'd like g0 estimates for the each occasion but not each veg type. Any help would be much appreciated.
M
Here's my code:
I seem to be having a bit of a mind cramp. I'm trying to the pull occasion specific estimates of g0 from my model, but I'm struggling to do so. I'm not too experienced with the intricacies of calling upon specific parts of a fitted model so I may not even be in the right ballpark. I tried copying and tweaking code from previous posts but no luck.
The model is (t + veg) with 4 sampling occasions. I'd like g0 estimates for the each occasion but not each veg type. Any help would be much appreciated.
M
Here's my code:
- Code: Select all
Sangres2013 <- secr.fit(...model = list(D ~ 1, g0 ~ t+veg, sigma ~ 1)
predict(Sangres2013, newdata = expand.grid(t = factor(1:4)))