View source: R/NetworkMetadata.r
The function generates ID (integer
) for flatten the network in a tabular view: instead of have one ID for ego and then an ID for each people of the network, we generate a unique ID for all people (ego and alters)
1 | idalter.gen(metavar, nmetavarbyalter, metavar.id.alter = NULL)
|
metavar |
|
nmetavarbyalter |
number of variable to use for each alter individual |
metavar.id.alter |
if ids for alters are given en metavar we can use them, else we assume meta variables are given in the same order than id alters |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.