add_ego_vars_to_long_df: add_ego_vars_to_long_df

Description Usage Arguments

Description

This function adds ego attributes to a 'alteri.list' object of ego-centered networks. This is helpful if (multi-level) regressions are to be executed.

Usage

1
add_ego_vars_to_long_df(alteri.list, egos.df, ego.vars, netsize)

Arguments

alteri.list

List of data.frames containg alteri attributes.

ego.vars

A data.frame of alteri attributes in the wide format.

netsize

Vector containing values of network size per ego.

egos

Data frame containg ego data (egos as cases)


tilltnet/egonetR documentation built on May 31, 2019, 1:46 p.m.