getSimpleFams | R Documentation |
Extract the names (if present) or indices of the simple reference families, i.e., the families containing exactly 1 missing person.
getSimpleFams(dvi)
dvi |
A |
A character (if dvi$am
has names) or integer vector.
getFamily()
# No simple families
simple1 = getSimpleFams(example1)
stopifnot(length(simple1) == 0)
# Second family is simple
simple2 = getSimpleFams(example2)
stopifnot(simple2 == "F2")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.