[R] vector distribution

From: -Halcyon- <Cyonora_at_gmail.com>
Date: Sat, 22 Dec 2007 06:28:23 -0800 (PST)

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

-- 
View this message in context: http://www.nabble.com/vector-distribution-tp14469865p14469865.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Sat 22 Dec 2007 - 22:19:48 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 25 Dec 2007 - 04:30:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.