Generate a sequence of numbers that determines the order in which
surnames should be listed based on the number of generations of
ancestors you wish to include. This sequence follows the traditional
Latin custom of assigning the father's surname first, followed by
the mother's surname. The same logic extends systematically to higher
generations, ensuring that the order of surnames remains consistent
as you move upward through the family tree.
Usage
seq_surnames(n = 1)
Value
Integer vector.
Arguments
n
Integer. Number of generations to include in the sequence.
Notice it will generate a vector with 2^(n-1) values.