Hi,
I have been happily using Density and the secr R package to build and compare models, despite my very limited experience with R. However, I have fallen down when it comes to including sex in the models. I have good reason to suspect that sex will effect at least sigma, and possibly g0 as well, so would like to include it.
I understand that I need to specify the sexes as groups rather than as covariates when using full-likelihood models, but despite reading through all the supporting material and several similar posts on this forum I have been unable to successfully create a group and add it to any models, despite much trying! I suspect this may be more down to my poor R knowledge than a specific secr question, but I would be extremely grateful if someone could talk me through it.
My data file looks like this (minus header)...
Session ID Occasion Trap Sex
7 035.088.784 1 B1B 1
7 035.838.796 2 B2A 1
7 035.838.796 3 H3A 1
7 035.838.796 4 C4B 1
7 035.838.796 5 G3A 1
7 035.838.852 2 B1B 1
Many thanks,
Tom