[R] sample from a list of names for random groups

Daniele Medri daniele.medri at libero.it
Mon Jun 30 17:11:12 CEST 2003


Dear R-users,

I need to sample from a list of names (people) and create 2 random groups with 
unique item. Sure sample() function is a good point to start but I can't find 
example to solve my work.

any tips? example?

Thank
-- 
Daniele Medri




More information about the R-help mailing list