Description Usage Arguments Value
This function counts the category frequencies (absolute or proportional) of a variable representing alter attributes in ego-centered-network data.
1 | comp.cat.counts(alteri, var, egoID = "egoID", fun = fun.count)
|
alteri |
A 'long' dataframe with alteri in rows. |
var |
Alter attribute which categories are to be counted. |
egoID |
|
fun |
Function to be used for counting. |
Returns a dataframe
with counts of all categories as variables.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.