knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
The goal of famnet is to characterize a family network, based on having an individual's ID, and their mother's and father's ID.
Install the developmental version.
# install.packages("remotes") remotes::install_github("lwjohnst86/famnet")
You can use the famnet functions to determine family relation links. For instance, say you a dataset like this:
library(famnet) head(fmn_df) tail(fmn_df)
And you want to determine sibling relations. You can use:
library(famnet) fmn_siblings(fmn_df, "PersonID", "MotherID", "FatherID")
Which indicates all the sibling connections in the fmn_df
dataset.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.