IDpartner | R Documentation |
Retrieves ID of partners of vector of egos #'
IDpartner(idego, d = NULL)
idego |
vector of IDs of egos. |
d |
Name of database. If d is missing, the dataset dLH in the global environment (R workspace) is used. If no dLH in the global environment, the database dLH distributed with the Families package is used. |
Vector of IDs of partners
# Load the data
data(dLH,package = "Families")
# Get ID of partner
IDpartner(idego=1,d=dLH)
IDpartner(idego=c(4,9,NA,30),d=dLH)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.