Skip to content

vector distribution

2 messages · -Halcyon-, Ben Bolker

#
Hi everyone, 

say i have a population (stable) with different amounts of animals in every
ageclass (80 of age 1, 60 of age 2, etc) in a vector.
Can anybody tell me how i can add gender (male or female) to all ageclasses?
I want a 1:1 ratio of males and females within the population (as a starting
value). So, 40 males and 40 females of age 1, 30m-30f of age 2, etc etc... 

Any help would be greatly appreciated!! 

Kind regards
2 days later
#
-Halcyon- <Cyonora <at> gmail.com> writes:
Do you mean something like
age1 age2 age3 
  80   60   40
M.age1 M.age2 M.age3 F.age1 F.age2 F.age3 
    40     30     20     40     30     20
?

  Ben Bolker