comp.diversity: Calculate the network diversity of ego-centered networks for...

Description Usage Arguments Value

Description

This function calculates the network diversity of ego-centered networks for a given alter-attribute.

Usage

1
comp.diversity(cat.counts, netsize)

Arguments

cat.counts

A category-count-dataframe usually generated with comp.cat.counts().

netsize

A vector of network sizes.

Value

Returns the absolute and proportional count of unique categories per ego/ network in a dataframe.


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