This function generates a population matrix with specified characteristics.

pop_generator(
  n,
  prop_hispanic = 0.5,
  prop_female = 0.5,
  prop_19_59_60plus = c(0.3, 0.6)
)

Arguments

n

The number of individuals in the population.

prop_hispanic

The proportion of individuals who are Hispanic. Default is 0.5.

prop_female

The proportion of individuals who are female. Default is 0.5.

prop_19_59_60plus

A vector of length 3 representing the proportions of individuals in the age groups 0-19, 20-59, and 60+. Default is c(0.5, 0.3, 0.2).

Value

A matrix representing the generated population, with columns for age groups (0-19, 20-59, 60+), NotHispanic, and Female.

See also

Other Server side functions: find_scale(), plot_epi(), plot_reproductive_epi()

Examples

pop_generator(n = 1000, prop_hispanic = .5, prop_female = .5,
              prop_19_59_60plus = c(.3, .6))
#>         0-19 20-59 60+ NotHispanic Female
#>    [1,]    0     0   1           1      1
#>    [2,]    1     0   0           1      0
#>    [3,]    0     1   0           0      1
#>    [4,]    0     0   1           0      1
#>    [5,]    0     0   1           0      0
#>    [6,]    0     1   0           1      1
#>    [7,]    0     1   0           0      1
#>    [8,]    0     0   1           1      0
#>    [9,]    1     0   0           1      1
#>   [10,]    1     0   0           1      1
#>   [11,]    1     0   0           1      1
#>   [12,]    0     0   1           0      1
#>   [13,]    0     0   1           0      0
#>   [14,]    0     0   1           0      0
#>   [15,]    0     1   0           0      1
#>   [16,]    0     0   1           1      1
#>   [17,]    0     1   0           0      0
#>   [18,]    0     0   1           1      1
#>   [19,]    0     0   1           0      1
#>   [20,]    1     0   0           0      1
#>   [21,]    0     0   1           1      1
#>   [22,]    0     1   0           0      1
#>   [23,]    1     0   0           0      0
#>   [24,]    0     0   1           0      1
#>   [25,]    1     0   0           1      0
#>   [26,]    1     0   0           1      0
#>   [27,]    0     0   1           1      0
#>   [28,]    0     1   0           1      1
#>   [29,]    0     1   0           1      0
#>   [30,]    0     1   0           0      1
#>   [31,]    0     0   1           1      1
#>   [32,]    0     0   1           1      0
#>   [33,]    0     0   1           0      1
#>   [34,]    0     1   0           0      0
#>   [35,]    0     1   0           0      0
#>   [36,]    0     1   0           0      1
#>   [37,]    1     0   0           1      1
#>   [38,]    1     0   0           0      0
#>   [39,]    0     0   1           0      1
#>   [40,]    0     0   1           0      1
#>   [41,]    0     1   0           1      1
#>   [42,]    0     1   0           0      1
#>   [43,]    0     1   0           1      0
#>   [44,]    0     1   0           1      0
#>   [45,]    0     0   1           0      1
#>   [46,]    1     0   0           0      0
#>   [47,]    1     0   0           0      1
#>   [48,]    1     0   0           0      0
#>   [49,]    1     0   0           0      0
#>   [50,]    0     0   1           1      1
#>   [51,]    0     1   0           1      0
#>   [52,]    0     0   1           0      0
#>   [53,]    0     0   1           0      0
#>   [54,]    0     1   0           0      1
#>   [55,]    0     1   0           1      1
#>   [56,]    1     0   0           1      1
#>   [57,]    0     0   1           1      1
#>   [58,]    1     0   0           1      0
#>   [59,]    0     0   1           1      0
#>   [60,]    0     0   1           1      1
#>   [61,]    1     0   0           1      0
#>   [62,]    0     0   1           0      0
#>   [63,]    0     1   0           0      1
#>   [64,]    0     0   1           0      1
#>   [65,]    0     1   0           1      1
#>   [66,]    0     0   1           0      0
#>   [67,]    1     0   0           0      1
#>   [68,]    0     1   0           0      1
#>   [69,]    0     1   0           0      0
#>   [70,]    0     0   1           1      0
#>   [71,]    0     1   0           0      1
#>   [72,]    0     0   1           0      0
#>   [73,]    0     0   1           0      0
#>   [74,]    0     1   0           1      0
#>   [75,]    0     0   1           1      1
#>   [76,]    0     0   1           0      0
#>   [77,]    0     0   1           0      1
#>   [78,]    0     1   0           0      1
#>   [79,]    1     0   0           0      1
#>   [80,]    0     0   1           1      1
#>   [81,]    0     1   0           0      1
#>   [82,]    0     1   0           1      0
#>   [83,]    0     0   1           1      0
#>   [84,]    0     0   1           1      1
#>   [85,]    0     1   0           0      1
#>   [86,]    1     0   0           1      1
#>   [87,]    0     1   0           1      0
#>   [88,]    0     0   1           1      0
#>   [89,]    0     1   0           1      0
#>   [90,]    0     0   1           1      0
#>   [91,]    1     0   0           1      0
#>   [92,]    0     0   1           0      1
#>   [93,]    0     1   0           1      0
#>   [94,]    1     0   0           0      0
#>   [95,]    1     0   0           0      0
#>   [96,]    0     0   1           0      0
#>   [97,]    0     1   0           0      1
#>   [98,]    1     0   0           0      1
#>   [99,]    0     0   1           1      1
#>  [100,]    0     1   0           1      1
#>  [101,]    1     0   0           1      0
#>  [102,]    1     0   0           1      0
#>  [103,]    0     1   0           1      0
#>  [104,]    0     0   1           0      0
#>  [105,]    0     1   0           0      1
#>  [106,]    0     1   0           0      0
#>  [107,]    0     1   0           0      0
#>  [108,]    0     1   0           1      0
#>  [109,]    0     1   0           0      1
#>  [110,]    1     0   0           0      1
#>  [111,]    1     0   0           1      1
#>  [112,]    1     0   0           0      0
#>  [113,]    0     0   1           0      0
#>  [114,]    1     0   0           1      0
#>  [115,]    1     0   0           1      1
#>  [116,]    0     1   0           0      1
#>  [117,]    0     0   1           0      1
#>  [118,]    1     0   0           1      1
#>  [119,]    0     1   0           1      1
#>  [120,]    0     1   0           1      1
#>  [121,]    1     0   0           0      0
#>  [122,]    0     1   0           0      1
#>  [123,]    0     0   1           1      1
#>  [124,]    1     0   0           0      0
#>  [125,]    1     0   0           1      0
#>  [126,]    0     0   1           0      0
#>  [127,]    0     1   0           0      0
#>  [128,]    1     0   0           0      1
#>  [129,]    0     0   1           1      1
#>  [130,]    0     0   1           0      0
#>  [131,]    0     0   1           1      1
#>  [132,]    0     1   0           1      1
#>  [133,]    1     0   0           1      1
#>  [134,]    1     0   0           0      0
#>  [135,]    0     1   0           1      1
#>  [136,]    0     1   0           1      1
#>  [137,]    0     1   0           0      0
#>  [138,]    0     0   1           1      1
#>  [139,]    0     0   1           1      1
#>  [140,]    1     0   0           0      1
#>  [141,]    0     0   1           1      0
#>  [142,]    1     0   0           1      0
#>  [143,]    0     1   0           1      0
#>  [144,]    0     0   1           1      1
#>  [145,]    1     0   0           1      0
#>  [146,]    0     0   1           0      0
#>  [147,]    0     1   0           1      1
#>  [148,]    0     0   1           0      0
#>  [149,]    1     0   0           0      1
#>  [150,]    1     0   0           0      0
#>  [151,]    0     1   0           0      0
#>  [152,]    0     0   1           1      0
#>  [153,]    1     0   0           0      1
#>  [154,]    0     0   1           1      1
#>  [155,]    0     1   0           1      1
#>  [156,]    0     0   1           0      0
#>  [157,]    0     1   0           1      1
#>  [158,]    0     0   1           1      0
#>  [159,]    0     1   0           1      1
#>  [160,]    1     0   0           0      0
#>  [161,]    1     0   0           1      1
#>  [162,]    1     0   0           0      1
#>  [163,]    1     0   0           1      0
#>  [164,]    0     1   0           0      1
#>  [165,]    1     0   0           1      1
#>  [166,]    1     0   0           1      0
#>  [167,]    1     0   0           0      1
#>  [168,]    0     0   1           0      1
#>  [169,]    0     0   1           0      1
#>  [170,]    1     0   0           1      0
#>  [171,]    1     0   0           0      1
#>  [172,]    0     0   1           1      1
#>  [173,]    0     0   1           0      1
#>  [174,]    1     0   0           0      0
#>  [175,]    0     1   0           0      1
#>  [176,]    1     0   0           0      0
#>  [177,]    0     1   0           1      1
#>  [178,]    0     1   0           1      0
#>  [179,]    0     0   1           1      1
#>  [180,]    1     0   0           0      1
#>  [181,]    0     1   0           0      1
#>  [182,]    0     0   1           0      0
#>  [183,]    1     0   0           1      0
#>  [184,]    0     0   1           0      1
#>  [185,]    1     0   0           1      0
#>  [186,]    0     0   1           0      0
#>  [187,]    0     1   0           1      0
#>  [188,]    0     0   1           0      0
#>  [189,]    0     1   0           1      0
#>  [190,]    0     0   1           1      1
#>  [191,]    1     0   0           1      1
#>  [192,]    0     0   1           0      1
#>  [193,]    0     0   1           1      1
#>  [194,]    1     0   0           0      1
#>  [195,]    1     0   0           0      1
#>  [196,]    0     0   1           1      0
#>  [197,]    1     0   0           0      0
#>  [198,]    1     0   0           1      0
#>  [199,]    0     0   1           1      0
#>  [200,]    1     0   0           0      0
#>  [201,]    0     0   1           0      1
#>  [202,]    1     0   0           0      0
#>  [203,]    0     0   1           0      1
#>  [204,]    0     0   1           1      0
#>  [205,]    0     0   1           0      1
#>  [206,]    1     0   0           1      0
#>  [207,]    0     0   1           0      1
#>  [208,]    0     0   1           1      1
#>  [209,]    0     0   1           1      1
#>  [210,]    1     0   0           0      0
#>  [211,]    0     0   1           1      1
#>  [212,]    1     0   0           1      0
#>  [213,]    0     0   1           1      1
#>  [214,]    1     0   0           0      1
#>  [215,]    0     0   1           0      1
#>  [216,]    1     0   0           0      1
#>  [217,]    0     1   0           1      0
#>  [218,]    1     0   0           0      0
#>  [219,]    1     0   0           0      0
#>  [220,]    1     0   0           0      1
#>  [221,]    0     1   0           1      0
#>  [222,]    0     0   1           1      0
#>  [223,]    0     0   1           1      1
#>  [224,]    0     1   0           0      0
#>  [225,]    0     1   0           1      0
#>  [226,]    0     1   0           1      1
#>  [227,]    0     0   1           1      1
#>  [228,]    1     0   0           1      1
#>  [229,]    1     0   0           1      1
#>  [230,]    1     0   0           1      0
#>  [231,]    1     0   0           1      1
#>  [232,]    0     0   1           1      1
#>  [233,]    0     1   0           0      1
#>  [234,]    0     0   1           1      1
#>  [235,]    0     0   1           1      0
#>  [236,]    0     1   0           0      1
#>  [237,]    0     1   0           0      0
#>  [238,]    0     1   0           0      0
#>  [239,]    1     0   0           1      1
#>  [240,]    0     1   0           0      0
#>  [241,]    1     0   0           0      1
#>  [242,]    0     0   1           0      1
#>  [243,]    0     1   0           1      0
#>  [244,]    0     0   1           0      1
#>  [245,]    1     0   0           0      1
#>  [246,]    0     1   0           0      1
#>  [247,]    0     1   0           0      1
#>  [248,]    1     0   0           1      1
#>  [249,]    0     1   0           1      1
#>  [250,]    0     0   1           1      0
#>  [251,]    0     1   0           1      1
#>  [252,]    0     1   0           0      1
#>  [253,]    1     0   0           1      0
#>  [254,]    0     1   0           1      1
#>  [255,]    0     0   1           0      0
#>  [256,]    1     0   0           1      0
#>  [257,]    0     0   1           1      1
#>  [258,]    0     0   1           1      0
#>  [259,]    0     1   0           0      0
#>  [260,]    0     0   1           1      1
#>  [261,]    0     0   1           1      1
#>  [262,]    1     0   0           1      0
#>  [263,]    1     0   0           1      1
#>  [264,]    1     0   0           0      0
#>  [265,]    0     1   0           1      0
#>  [266,]    0     1   0           0      0
#>  [267,]    0     0   1           0      0
#>  [268,]    0     0   1           1      0
#>  [269,]    0     0   1           0      1
#>  [270,]    0     1   0           0      1
#>  [271,]    0     1   0           1      1
#>  [272,]    1     0   0           0      1
#>  [273,]    0     0   1           1      1
#>  [274,]    1     0   0           0      0
#>  [275,]    0     0   1           1      1
#>  [276,]    0     1   0           1      1
#>  [277,]    1     0   0           1      0
#>  [278,]    0     0   1           1      1
#>  [279,]    0     1   0           0      1
#>  [280,]    1     0   0           1      0
#>  [281,]    0     1   0           0      1
#>  [282,]    0     1   0           1      0
#>  [283,]    0     0   1           1      0
#>  [284,]    0     0   1           0      0
#>  [285,]    1     0   0           0      0
#>  [286,]    0     0   1           0      1
#>  [287,]    1     0   0           1      1
#>  [288,]    1     0   0           1      0
#>  [289,]    1     0   0           0      0
#>  [290,]    0     1   0           1      1
#>  [291,]    1     0   0           0      1
#>  [292,]    0     0   1           1      1
#>  [293,]    0     0   1           0      0
#>  [294,]    0     0   1           0      0
#>  [295,]    0     1   0           1      0
#>  [296,]    0     1   0           0      1
#>  [297,]    0     0   1           1      1
#>  [298,]    0     0   1           0      1
#>  [299,]    1     0   0           0      1
#>  [300,]    0     0   1           0      1
#>  [301,]    0     1   0           1      1
#>  [302,]    0     0   1           0      0
#>  [303,]    0     1   0           1      1
#>  [304,]    1     0   0           1      0
#>  [305,]    0     0   1           0      0
#>  [306,]    0     0   1           1      0
#>  [307,]    0     0   1           1      1
#>  [308,]    0     0   1           0      1
#>  [309,]    1     0   0           0      0
#>  [310,]    0     1   0           1      1
#>  [311,]    1     0   0           0      1
#>  [312,]    1     0   0           0      1
#>  [313,]    0     1   0           1      1
#>  [314,]    1     0   0           0      1
#>  [315,]    0     0   1           1      0
#>  [316,]    0     0   1           1      1
#>  [317,]    1     0   0           0      1
#>  [318,]    0     0   1           1      1
#>  [319,]    1     0   0           0      1
#>  [320,]    0     0   1           1      0
#>  [321,]    0     0   1           1      1
#>  [322,]    1     0   0           0      0
#>  [323,]    1     0   0           0      0
#>  [324,]    1     0   0           0      0
#>  [325,]    0     0   1           0      1
#>  [326,]    0     0   1           1      1
#>  [327,]    0     1   0           0      0
#>  [328,]    1     0   0           1      1
#>  [329,]    0     0   1           1      0
#>  [330,]    1     0   0           1      0
#>  [331,]    0     0   1           1      0
#>  [332,]    0     0   1           1      1
#>  [333,]    0     0   1           1      1
#>  [334,]    0     1   0           1      0
#>  [335,]    0     1   0           0      0
#>  [336,]    0     0   1           0      0
#>  [337,]    0     0   1           0      1
#>  [338,]    1     0   0           1      0
#>  [339,]    0     1   0           0      0
#>  [340,]    1     0   0           0      1
#>  [341,]    0     1   0           1      0
#>  [342,]    0     1   0           1      1
#>  [343,]    0     0   1           0      1
#>  [344,]    0     1   0           1      0
#>  [345,]    1     0   0           1      1
#>  [346,]    0     1   0           0      0
#>  [347,]    1     0   0           1      1
#>  [348,]    0     1   0           0      0
#>  [349,]    1     0   0           1      0
#>  [350,]    0     0   1           0      1
#>  [351,]    1     0   0           0      1
#>  [352,]    1     0   0           1      1
#>  [353,]    0     0   1           1      1
#>  [354,]    0     0   1           1      1
#>  [355,]    0     0   1           0      0
#>  [356,]    1     0   0           0      0
#>  [357,]    0     0   1           1      1
#>  [358,]    0     0   1           1      0
#>  [359,]    1     0   0           1      1
#>  [360,]    0     1   0           0      1
#>  [361,]    0     0   1           1      1
#>  [362,]    0     1   0           1      1
#>  [363,]    0     0   1           1      1
#>  [364,]    1     0   0           1      0
#>  [365,]    0     0   1           1      1
#>  [366,]    0     0   1           1      0
#>  [367,]    1     0   0           1      1
#>  [368,]    1     0   0           0      1
#>  [369,]    1     0   0           0      1
#>  [370,]    1     0   0           1      0
#>  [371,]    1     0   0           0      0
#>  [372,]    0     0   1           0      1
#>  [373,]    0     1   0           0      1
#>  [374,]    0     1   0           1      1
#>  [375,]    1     0   0           1      0
#>  [376,]    0     0   1           0      1
#>  [377,]    1     0   0           0      1
#>  [378,]    0     1   0           1      0
#>  [379,]    1     0   0           1      1
#>  [380,]    0     1   0           1      0
#>  [381,]    1     0   0           1      1
#>  [382,]    1     0   0           1      1
#>  [383,]    0     0   1           1      0
#>  [384,]    0     0   1           1      1
#>  [385,]    0     0   1           0      1
#>  [386,]    1     0   0           0      1
#>  [387,]    0     0   1           1      1
#>  [388,]    1     0   0           0      1
#>  [389,]    1     0   0           1      1
#>  [390,]    0     0   1           1      0
#>  [391,]    0     1   0           1      1
#>  [392,]    0     0   1           0      1
#>  [393,]    0     1   0           1      1
#>  [394,]    1     0   0           1      0
#>  [395,]    1     0   0           0      0
#>  [396,]    0     0   1           0      0
#>  [397,]    1     0   0           0      0
#>  [398,]    1     0   0           1      1
#>  [399,]    1     0   0           0      1
#>  [400,]    0     0   1           1      0
#>  [401,]    0     0   1           0      1
#>  [402,]    1     0   0           0      0
#>  [403,]    1     0   0           1      0
#>  [404,]    0     0   1           0      0
#>  [405,]    0     1   0           0      1
#>  [406,]    0     0   1           0      1
#>  [407,]    0     0   1           1      1
#>  [408,]    0     0   1           1      0
#>  [409,]    0     0   1           1      1
#>  [410,]    0     0   1           0      1
#>  [411,]    0     1   0           1      0
#>  [412,]    1     0   0           1      0
#>  [413,]    0     0   1           1      1
#>  [414,]    0     0   1           1      0
#>  [415,]    0     0   1           0      0
#>  [416,]    0     1   0           1      1
#>  [417,]    0     0   1           0      0
#>  [418,]    0     0   1           1      0
#>  [419,]    1     0   0           0      1
#>  [420,]    1     0   0           1      1
#>  [421,]    0     0   1           0      0
#>  [422,]    0     0   1           1      0
#>  [423,]    0     0   1           0      0
#>  [424,]    0     1   0           0      0
#>  [425,]    1     0   0           1      0
#>  [426,]    0     1   0           0      1
#>  [427,]    0     0   1           1      0
#>  [428,]    1     0   0           1      1
#>  [429,]    1     0   0           1      1
#>  [430,]    0     1   0           1      0
#>  [431,]    0     1   0           0      0
#>  [432,]    0     0   1           1      0
#>  [433,]    1     0   0           1      1
#>  [434,]    1     0   0           0      0
#>  [435,]    0     1   0           1      1
#>  [436,]    1     0   0           0      0
#>  [437,]    0     0   1           1      0
#>  [438,]    1     0   0           1      0
#>  [439,]    1     0   0           1      1
#>  [440,]    1     0   0           0      0
#>  [441,]    0     0   1           0      0
#>  [442,]    0     1   0           0      0
#>  [443,]    0     1   0           1      1
#>  [444,]    0     0   1           0      0
#>  [445,]    0     1   0           0      0
#>  [446,]    0     1   0           0      0
#>  [447,]    0     1   0           0      0
#>  [448,]    0     1   0           0      0
#>  [449,]    0     0   1           1      0
#>  [450,]    0     0   1           0      1
#>  [451,]    1     0   0           1      0
#>  [452,]    0     1   0           1      1
#>  [453,]    0     1   0           0      0
#>  [454,]    0     0   1           0      1
#>  [455,]    0     0   1           0      0
#>  [456,]    0     0   1           0      0
#>  [457,]    1     0   0           1      0
#>  [458,]    0     0   1           0      1
#>  [459,]    0     0   1           0      1
#>  [460,]    0     0   1           1      1
#>  [461,]    0     1   0           1      1
#>  [462,]    0     0   1           1      0
#>  [463,]    0     0   1           1      0
#>  [464,]    1     0   0           1      1
#>  [465,]    1     0   0           1      1
#>  [466,]    0     1   0           0      1
#>  [467,]    0     0   1           0      0
#>  [468,]    1     0   0           1      0
#>  [469,]    0     1   0           0      0
#>  [470,]    0     0   1           1      0
#>  [471,]    0     0   1           0      1
#>  [472,]    0     1   0           1      0
#>  [473,]    0     0   1           0      0
#>  [474,]    0     1   0           1      0
#>  [475,]    1     0   0           0      0
#>  [476,]    0     0   1           0      0
#>  [477,]    1     0   0           1      1
#>  [478,]    1     0   0           0      1
#>  [479,]    0     0   1           1      1
#>  [480,]    0     0   1           0      0
#>  [481,]    0     0   1           1      1
#>  [482,]    1     0   0           1      1
#>  [483,]    1     0   0           1      0
#>  [484,]    0     0   1           1      0
#>  [485,]    1     0   0           1      1
#>  [486,]    0     0   1           0      1
#>  [487,]    1     0   0           0      1
#>  [488,]    0     0   1           1      0
#>  [489,]    0     0   1           1      1
#>  [490,]    0     1   0           0      1
#>  [491,]    1     0   0           1      0
#>  [492,]    1     0   0           0      1
#>  [493,]    0     1   0           1      1
#>  [494,]    0     1   0           1      1
#>  [495,]    0     1   0           1      0
#>  [496,]    1     0   0           1      1
#>  [497,]    0     1   0           0      1
#>  [498,]    0     0   1           1      1
#>  [499,]    0     1   0           0      1
#>  [500,]    0     0   1           0      0
#>  [501,]    0     0   1           0      0
#>  [502,]    0     0   1           0      1
#>  [503,]    0     0   1           1      1
#>  [504,]    1     0   0           0      1
#>  [505,]    0     0   1           0      1
#>  [506,]    1     0   0           1      0
#>  [507,]    0     0   1           1      1
#>  [508,]    0     0   1           1      1
#>  [509,]    1     0   0           0      1
#>  [510,]    1     0   0           1      1
#>  [511,]    0     0   1           0      1
#>  [512,]    0     0   1           0      1
#>  [513,]    0     1   0           0      1
#>  [514,]    0     1   0           1      1
#>  [515,]    0     0   1           1      1
#>  [516,]    0     0   1           1      1
#>  [517,]    0     0   1           0      1
#>  [518,]    0     1   0           1      0
#>  [519,]    1     0   0           1      0
#>  [520,]    0     0   1           0      0
#>  [521,]    0     1   0           0      1
#>  [522,]    1     0   0           0      1
#>  [523,]    0     0   1           0      1
#>  [524,]    0     0   1           0      1
#>  [525,]    0     1   0           0      1
#>  [526,]    0     0   1           0      0
#>  [527,]    0     1   0           1      1
#>  [528,]    0     1   0           1      0
#>  [529,]    0     0   1           1      1
#>  [530,]    0     0   1           0      0
#>  [531,]    0     0   1           0      1
#>  [532,]    1     0   0           0      1
#>  [533,]    1     0   0           0      0
#>  [534,]    0     1   0           1      0
#>  [535,]    0     0   1           0      1
#>  [536,]    0     0   1           1      0
#>  [537,]    0     1   0           0      1
#>  [538,]    0     1   0           0      0
#>  [539,]    0     1   0           1      0
#>  [540,]    1     0   0           1      1
#>  [541,]    0     1   0           1      1
#>  [542,]    0     1   0           0      1
#>  [543,]    0     0   1           1      1
#>  [544,]    1     0   0           0      1
#>  [545,]    0     1   0           0      0
#>  [546,]    1     0   0           0      1
#>  [547,]    0     1   0           0      0
#>  [548,]    0     0   1           1      1
#>  [549,]    0     1   0           1      1
#>  [550,]    0     0   1           0      1
#>  [551,]    1     0   0           0      0
#>  [552,]    0     1   0           1      1
#>  [553,]    1     0   0           1      0
#>  [554,]    0     1   0           0      0
#>  [555,]    1     0   0           0      1
#>  [556,]    0     1   0           1      1
#>  [557,]    1     0   0           1      1
#>  [558,]    0     1   0           1      1
#>  [559,]    0     0   1           0      0
#>  [560,]    0     0   1           0      0
#>  [561,]    1     0   0           1      1
#>  [562,]    0     1   0           1      0
#>  [563,]    0     0   1           1      0
#>  [564,]    1     0   0           1      1
#>  [565,]    1     0   0           1      0
#>  [566,]    0     0   1           1      0
#>  [567,]    0     1   0           1      0
#>  [568,]    1     0   0           0      1
#>  [569,]    0     1   0           0      1
#>  [570,]    1     0   0           1      1
#>  [571,]    1     0   0           0      1
#>  [572,]    0     0   1           0      0
#>  [573,]    0     0   1           0      0
#>  [574,]    0     0   1           1      1
#>  [575,]    0     1   0           1      0
#>  [576,]    1     0   0           0      0
#>  [577,]    1     0   0           0      0
#>  [578,]    0     1   0           0      0
#>  [579,]    0     0   1           0      1
#>  [580,]    0     0   1           1      1
#>  [581,]    0     1   0           0      1
#>  [582,]    1     0   0           1      1
#>  [583,]    0     1   0           0      0
#>  [584,]    0     1   0           1      1
#>  [585,]    0     0   1           0      0
#>  [586,]    0     0   1           0      0
#>  [587,]    0     1   0           0      0
#>  [588,]    0     1   0           1      0
#>  [589,]    1     0   0           0      0
#>  [590,]    1     0   0           0      1
#>  [591,]    0     0   1           0      0
#>  [592,]    1     0   0           0      0
#>  [593,]    0     0   1           0      0
#>  [594,]    0     0   1           0      1
#>  [595,]    1     0   0           0      1
#>  [596,]    0     1   0           0      0
#>  [597,]    1     0   0           0      1
#>  [598,]    0     0   1           0      1
#>  [599,]    1     0   0           1      0
#>  [600,]    0     1   0           0      1
#>  [601,]    0     0   1           0      1
#>  [602,]    0     1   0           1      0
#>  [603,]    0     0   1           1      1
#>  [604,]    0     1   0           0      1
#>  [605,]    1     0   0           1      0
#>  [606,]    1     0   0           0      1
#>  [607,]    1     0   0           0      1
#>  [608,]    0     0   1           0      0
#>  [609,]    0     1   0           0      1
#>  [610,]    1     0   0           1      1
#>  [611,]    0     0   1           1      0
#>  [612,]    1     0   0           0      0
#>  [613,]    1     0   0           1      0
#>  [614,]    1     0   0           1      1
#>  [615,]    1     0   0           1      1
#>  [616,]    0     0   1           0      0
#>  [617,]    1     0   0           0      1
#>  [618,]    0     1   0           0      1
#>  [619,]    0     0   1           0      1
#>  [620,]    0     1   0           1      1
#>  [621,]    0     0   1           0      1
#>  [622,]    0     1   0           0      0
#>  [623,]    0     0   1           0      1
#>  [624,]    0     1   0           0      0
#>  [625,]    1     0   0           0      1
#>  [626,]    0     1   0           1      0
#>  [627,]    0     0   1           1      0
#>  [628,]    0     1   0           1      0
#>  [629,]    0     1   0           0      0
#>  [630,]    0     1   0           1      0
#>  [631,]    0     1   0           0      1
#>  [632,]    0     1   0           0      0
#>  [633,]    1     0   0           1      1
#>  [634,]    1     0   0           1      0
#>  [635,]    0     0   1           1      0
#>  [636,]    0     1   0           0      1
#>  [637,]    0     0   1           1      0
#>  [638,]    0     1   0           0      1
#>  [639,]    0     1   0           1      0
#>  [640,]    0     0   1           1      0
#>  [641,]    1     0   0           0      1
#>  [642,]    0     1   0           0      1
#>  [643,]    0     1   0           0      0
#>  [644,]    0     0   1           0      0
#>  [645,]    1     0   0           0      1
#>  [646,]    0     1   0           1      1
#>  [647,]    0     1   0           1      1
#>  [648,]    0     0   1           0      0
#>  [649,]    1     0   0           1      1
#>  [650,]    0     0   1           1      1
#>  [651,]    0     0   1           1      1
#>  [652,]    1     0   0           1      1
#>  [653,]    0     1   0           0      1
#>  [654,]    0     0   1           1      1
#>  [655,]    1     0   0           0      1
#>  [656,]    0     0   1           0      0
#>  [657,]    0     1   0           1      0
#>  [658,]    0     0   1           1      1
#>  [659,]    1     0   0           0      0
#>  [660,]    1     0   0           1      1
#>  [661,]    1     0   0           0      0
#>  [662,]    1     0   0           0      1
#>  [663,]    0     0   1           0      1
#>  [664,]    1     0   0           0      0
#>  [665,]    1     0   0           0      0
#>  [666,]    0     1   0           1      0
#>  [667,]    0     1   0           1      0
#>  [668,]    1     0   0           1      0
#>  [669,]    0     1   0           1      1
#>  [670,]    0     1   0           1      0
#>  [671,]    1     0   0           0      1
#>  [672,]    1     0   0           1      0
#>  [673,]    0     0   1           1      0
#>  [674,]    0     1   0           1      0
#>  [675,]    0     0   1           1      1
#>  [676,]    0     1   0           1      0
#>  [677,]    0     1   0           0      0
#>  [678,]    0     0   1           1      0
#>  [679,]    1     0   0           1      1
#>  [680,]    1     0   0           0      1
#>  [681,]    0     1   0           1      0
#>  [682,]    0     1   0           1      1
#>  [683,]    1     0   0           0      0
#>  [684,]    0     0   1           1      0
#>  [685,]    0     1   0           1      1
#>  [686,]    0     0   1           1      0
#>  [687,]    0     0   1           1      0
#>  [688,]    0     0   1           1      1
#>  [689,]    0     0   1           0      1
#>  [690,]    1     0   0           0      1
#>  [691,]    1     0   0           0      1
#>  [692,]    0     1   0           0      0
#>  [693,]    0     1   0           1      0
#>  [694,]    0     1   0           0      1
#>  [695,]    0     0   1           0      1
#>  [696,]    0     1   0           0      1
#>  [697,]    0     1   0           0      1
#>  [698,]    1     0   0           1      1
#>  [699,]    1     0   0           1      0
#>  [700,]    0     0   1           0      1
#>  [701,]    0     0   1           0      1
#>  [702,]    1     0   0           1      1
#>  [703,]    0     1   0           0      0
#>  [704,]    0     1   0           1      1
#>  [705,]    1     0   0           1      1
#>  [706,]    0     0   1           0      0
#>  [707,]    1     0   0           1      1
#>  [708,]    0     0   1           0      0
#>  [709,]    1     0   0           1      0
#>  [710,]    0     1   0           1      0
#>  [711,]    1     0   0           1      1
#>  [712,]    0     1   0           1      1
#>  [713,]    0     0   1           1      0
#>  [714,]    0     1   0           1      1
#>  [715,]    1     0   0           0      0
#>  [716,]    0     0   1           1      0
#>  [717,]    0     0   1           1      1
#>  [718,]    1     0   0           0      0
#>  [719,]    0     0   1           0      1
#>  [720,]    1     0   0           0      0
#>  [721,]    0     0   1           1      0
#>  [722,]    0     0   1           0      1
#>  [723,]    1     0   0           1      0
#>  [724,]    0     0   1           1      0
#>  [725,]    1     0   0           1      0
#>  [726,]    0     0   1           1      1
#>  [727,]    1     0   0           1      0
#>  [728,]    0     0   1           1      0
#>  [729,]    0     1   0           1      0
#>  [730,]    0     1   0           1      0
#>  [731,]    1     0   0           1      0
#>  [732,]    0     0   1           0      1
#>  [733,]    0     0   1           1      1
#>  [734,]    1     0   0           1      1
#>  [735,]    0     0   1           1      0
#>  [736,]    0     0   1           0      1
#>  [737,]    1     0   0           0      0
#>  [738,]    0     0   1           1      0
#>  [739,]    0     1   0           0      1
#>  [740,]    1     0   0           0      1
#>  [741,]    0     1   0           0      0
#>  [742,]    1     0   0           0      0
#>  [743,]    0     0   1           0      0
#>  [744,]    0     1   0           0      1
#>  [745,]    0     0   1           1      0
#>  [746,]    0     1   0           0      1
#>  [747,]    0     0   1           1      1
#>  [748,]    0     0   1           1      1
#>  [749,]    0     0   1           1      0
#>  [750,]    1     0   0           1      1
#>  [751,]    1     0   0           1      0
#>  [752,]    0     0   1           0      0
#>  [753,]    0     1   0           0      1
#>  [754,]    0     0   1           1      0
#>  [755,]    0     0   1           1      0
#>  [756,]    0     1   0           0      1
#>  [757,]    0     1   0           1      0
#>  [758,]    1     0   0           1      1
#>  [759,]    1     0   0           1      0
#>  [760,]    0     0   1           0      0
#>  [761,]    0     1   0           0      0
#>  [762,]    1     0   0           1      1
#>  [763,]    0     0   1           0      1
#>  [764,]    0     1   0           1      1
#>  [765,]    0     1   0           0      0
#>  [766,]    0     0   1           1      0
#>  [767,]    0     1   0           0      1
#>  [768,]    0     0   1           0      1
#>  [769,]    0     1   0           1      1
#>  [770,]    0     0   1           0      1
#>  [771,]    0     1   0           0      1
#>  [772,]    0     0   1           0      1
#>  [773,]    0     1   0           1      0
#>  [774,]    0     0   1           0      1
#>  [775,]    1     0   0           0      1
#>  [776,]    0     0   1           0      1
#>  [777,]    0     0   1           0      1
#>  [778,]    0     0   1           0      0
#>  [779,]    0     1   0           1      1
#>  [780,]    1     0   0           1      0
#>  [781,]    0     0   1           0      0
#>  [782,]    0     1   0           1      0
#>  [783,]    1     0   0           0      0
#>  [784,]    0     0   1           1      0
#>  [785,]    1     0   0           1      1
#>  [786,]    0     0   1           1      1
#>  [787,]    0     0   1           0      0
#>  [788,]    0     1   0           1      0
#>  [789,]    0     1   0           1      1
#>  [790,]    0     0   1           1      0
#>  [791,]    1     0   0           1      0
#>  [792,]    0     1   0           0      0
#>  [793,]    0     0   1           1      1
#>  [794,]    0     1   0           1      1
#>  [795,]    1     0   0           1      0
#>  [796,]    1     0   0           0      0
#>  [797,]    0     1   0           1      1
#>  [798,]    0     1   0           0      0
#>  [799,]    0     0   1           1      0
#>  [800,]    0     0   1           1      0
#>  [801,]    1     0   0           0      1
#>  [802,]    0     0   1           0      0
#>  [803,]    0     0   1           0      1
#>  [804,]    1     0   0           1      1
#>  [805,]    0     0   1           0      1
#>  [806,]    0     0   1           1      0
#>  [807,]    1     0   0           1      0
#>  [808,]    0     0   1           1      0
#>  [809,]    0     0   1           1      1
#>  [810,]    0     0   1           0      1
#>  [811,]    0     0   1           0      0
#>  [812,]    0     0   1           1      0
#>  [813,]    1     0   0           1      1
#>  [814,]    1     0   0           0      0
#>  [815,]    1     0   0           0      0
#>  [816,]    0     1   0           1      0
#>  [817,]    0     0   1           0      0
#>  [818,]    0     1   0           1      0
#>  [819,]    0     0   1           0      1
#>  [820,]    0     0   1           1      0
#>  [821,]    0     1   0           1      0
#>  [822,]    0     0   1           1      0
#>  [823,]    0     0   1           0      0
#>  [824,]    0     1   0           1      0
#>  [825,]    0     0   1           0      0
#>  [826,]    0     1   0           0      0
#>  [827,]    0     0   1           1      1
#>  [828,]    1     0   0           0      0
#>  [829,]    1     0   0           0      0
#>  [830,]    0     0   1           0      1
#>  [831,]    1     0   0           0      1
#>  [832,]    0     1   0           1      1
#>  [833,]    0     1   0           0      0
#>  [834,]    1     0   0           1      0
#>  [835,]    0     0   1           1      1
#>  [836,]    0     1   0           1      0
#>  [837,]    1     0   0           1      1
#>  [838,]    0     1   0           0      1
#>  [839,]    0     1   0           0      1
#>  [840,]    1     0   0           0      1
#>  [841,]    1     0   0           1      1
#>  [842,]    1     0   0           0      0
#>  [843,]    0     1   0           0      0
#>  [844,]    0     0   1           0      0
#>  [845,]    1     0   0           0      0
#>  [846,]    0     1   0           1      0
#>  [847,]    0     0   1           0      1
#>  [848,]    0     1   0           0      1
#>  [849,]    0     0   1           1      0
#>  [850,]    0     1   0           0      1
#>  [851,]    1     0   0           1      1
#>  [852,]    1     0   0           1      0
#>  [853,]    0     0   1           1      0
#>  [854,]    1     0   0           1      1
#>  [855,]    0     0   1           1      1
#>  [856,]    0     1   0           1      0
#>  [857,]    0     1   0           1      0
#>  [858,]    0     1   0           0      0
#>  [859,]    1     0   0           1      0
#>  [860,]    1     0   0           1      0
#>  [861,]    0     1   0           0      1
#>  [862,]    0     0   1           0      0
#>  [863,]    0     0   1           0      0
#>  [864,]    0     1   0           0      1
#>  [865,]    1     0   0           0      0
#>  [866,]    0     1   0           1      1
#>  [867,]    1     0   0           1      0
#>  [868,]    0     0   1           1      1
#>  [869,]    0     0   1           0      0
#>  [870,]    0     1   0           0      1
#>  [871,]    0     0   1           0      1
#>  [872,]    0     1   0           0      0
#>  [873,]    0     0   1           1      0
#>  [874,]    0     1   0           0      0
#>  [875,]    0     0   1           0      0
#>  [876,]    1     0   0           0      0
#>  [877,]    0     1   0           0      1
#>  [878,]    1     0   0           1      0
#>  [879,]    0     0   1           0      0
#>  [880,]    0     1   0           1      0
#>  [881,]    0     0   1           1      0
#>  [882,]    0     1   0           1      0
#>  [883,]    1     0   0           1      0
#>  [884,]    0     0   1           0      1
#>  [885,]    0     0   1           1      1
#>  [886,]    0     0   1           1      0
#>  [887,]    0     0   1           1      1
#>  [888,]    0     1   0           0      0
#>  [889,]    0     1   0           0      0
#>  [890,]    0     1   0           0      0
#>  [891,]    0     0   1           0      0
#>  [892,]    0     0   1           0      0
#>  [893,]    0     0   1           0      1
#>  [894,]    1     0   0           1      0
#>  [895,]    0     0   1           0      0
#>  [896,]    0     0   1           0      0
#>  [897,]    1     0   0           0      0
#>  [898,]    1     0   0           0      0
#>  [899,]    0     1   0           1      0
#>  [900,]    0     0   1           0      0
#>  [901,]    1     0   0           1      1
#>  [902,]    0     0   1           0      0
#>  [903,]    0     1   0           0      0
#>  [904,]    1     0   0           1      1
#>  [905,]    0     0   1           0      1
#>  [906,]    0     0   1           0      1
#>  [907,]    0     0   1           0      0
#>  [908,]    0     1   0           1      1
#>  [909,]    0     1   0           0      0
#>  [910,]    1     0   0           0      1
#>  [911,]    0     0   1           0      1
#>  [912,]    1     0   0           1      0
#>  [913,]    0     1   0           0      1
#>  [914,]    0     0   1           0      1
#>  [915,]    0     0   1           0      1
#>  [916,]    0     1   0           1      0
#>  [917,]    1     0   0           0      1
#>  [918,]    1     0   0           1      0
#>  [919,]    0     1   0           0      0
#>  [920,]    0     0   1           0      0
#>  [921,]    1     0   0           1      0
#>  [922,]    1     0   0           1      1
#>  [923,]    0     0   1           1      0
#>  [924,]    0     0   1           1      0
#>  [925,]    1     0   0           0      0
#>  [926,]    1     0   0           0      0
#>  [927,]    0     0   1           0      0
#>  [928,]    0     0   1           0      1
#>  [929,]    0     0   1           1      1
#>  [930,]    0     0   1           1      1
#>  [931,]    0     0   1           1      0
#>  [932,]    1     0   0           1      1
#>  [933,]    0     0   1           1      1
#>  [934,]    0     0   1           0      1
#>  [935,]    0     1   0           0      1
#>  [936,]    0     0   1           1      0
#>  [937,]    1     0   0           0      1
#>  [938,]    0     1   0           1      0
#>  [939,]    1     0   0           0      1
#>  [940,]    1     0   0           1      1
#>  [941,]    0     0   1           1      0
#>  [942,]    0     1   0           0      0
#>  [943,]    0     0   1           0      0
#>  [944,]    0     1   0           0      1
#>  [945,]    0     0   1           1      0
#>  [946,]    1     0   0           0      0
#>  [947,]    0     0   1           0      1
#>  [948,]    1     0   0           0      0
#>  [949,]    0     0   1           0      0
#>  [950,]    0     0   1           1      0
#>  [951,]    0     0   1           1      0
#>  [952,]    1     0   0           0      0
#>  [953,]    0     0   1           1      1
#>  [954,]    0     0   1           1      1
#>  [955,]    0     1   0           0      0
#>  [956,]    1     0   0           0      1
#>  [957,]    0     1   0           0      0
#>  [958,]    1     0   0           0      0
#>  [959,]    0     0   1           0      1
#>  [960,]    1     0   0           0      0
#>  [961,]    0     0   1           1      1
#>  [962,]    0     0   1           1      1
#>  [963,]    1     0   0           0      1
#>  [964,]    0     1   0           0      0
#>  [965,]    1     0   0           0      1
#>  [966,]    0     0   1           0      1
#>  [967,]    1     0   0           1      1
#>  [968,]    0     0   1           1      0
#>  [969,]    1     0   0           0      1
#>  [970,]    0     1   0           1      0
#>  [971,]    0     0   1           1      0
#>  [972,]    0     1   0           1      1
#>  [973,]    1     0   0           0      0
#>  [974,]    0     0   1           1      1
#>  [975,]    1     0   0           0      0
#>  [976,]    0     0   1           0      0
#>  [977,]    1     0   0           1      1
#>  [978,]    0     0   1           0      1
#>  [979,]    0     0   1           0      1
#>  [980,]    0     1   0           1      1
#>  [981,]    0     1   0           0      1
#>  [982,]    0     1   0           0      1
#>  [983,]    0     0   1           0      1
#>  [984,]    0     0   1           1      1
#>  [985,]    0     0   1           1      0
#>  [986,]    0     1   0           1      1
#>  [987,]    0     0   1           1      1
#>  [988,]    0     1   0           1      0
#>  [989,]    0     0   1           1      1
#>  [990,]    0     1   0           1      0
#>  [991,]    0     0   1           0      0
#>  [992,]    1     0   0           1      1
#>  [993,]    0     0   1           0      1
#>  [994,]    0     0   1           0      1
#>  [995,]    0     1   0           0      0
#>  [996,]    1     0   0           1      0
#>  [997,]    0     0   1           1      1
#>  [998,]    0     0   1           0      1
#>  [999,]    1     0   0           1      0
#> [1000,]    1     0   0           0      0