| draw_sex | R Documentation | 
Each individual has their sex drawn between male and female with equal probability. Sex is encoded numerically following the convention for plink FAM files (see below).
draw_sex(n)
n | 
 The number of individuals.  | 
The length-n vector of integer sex assignments: 1L corresponds to male, 2L to female.
Plink FAM format reference: https://www.cog-genomics.org/plink/1.9/formats#fam
draw_sex( 10 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.