idalter.gen: Generates IDs for people cited within an egocentric network

Description Usage Arguments

Description

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)

Usage

1
idalter.gen(metavar, nmetavarbyalter, metavar.id.alter = NULL)

Arguments

metavar

Rsocialdata object, demographic variables for all individals of the egocentric network

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



Search within the Rsocialdata.network package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.