Page 1 of 1
Counting individuals in age classes

Posted:
Thu Aug 29, 2013 6:05 am
by Lconcannon
Hi
I have run a series of models with various age bins set up using 'add.design.data'. I was wondering if there was some RMARK code that would enable me to easily count the numbers of individuals in each age class?
Thanks
Re: Counting individuals in age classes

Posted:
Thu Aug 29, 2013 10:37 am
by jlaake
Lianne-
Not sure exactly what you want. Those age bins you mention are applied to the design data and not the individual animals. If you simply want the counts in age bins of animals at the initial release then table(cut(x$age,bins)) will do it if dataframe is x, age is the variable name and bins are the agebins. If you want the ages of animals resighted through time that is a bit more difficult. There is no code in RMark to do either of these.
--jeff
Re: Counting individuals in age classes

Posted:
Wed Sep 04, 2013 10:15 am
by Lconcannon
Hi Jeff.
Thanks for the reply, sounds like it is not possible to do what I was hoping to do in RMARK, but thanks so much for letting me know!
Lianne