Counting individuals in age classes

posts related to the RMark library, which may not be of general interest to users of 'classic' MARK

Counting individuals in age classes

Postby Lconcannon » Thu Aug 29, 2013 6:05 am

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
Lconcannon
 
Posts: 12
Joined: Wed Feb 06, 2013 6:35 am

Re: Counting individuals in age classes

Postby jlaake » Thu Aug 29, 2013 10:37 am

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
jlaake
 
Posts: 1480
Joined: Fri May 12, 2006 12:50 pm
Location: Escondido, CA

Re: Counting individuals in age classes

Postby Lconcannon » Wed Sep 04, 2013 10:15 am

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
Lconcannon
 
Posts: 12
Joined: Wed Feb 06, 2013 6:35 am


Return to RMark

Who is online

Users browsing this forum: No registered users and 1 guest