as.den: Convert data.frame to the den format.

View source: R/class.R

as.denR Documentation

Convert data.frame to the den format.

Description

If you have a data.frame with case - affiliation edges: where each row is a position in a affiliation, it can be converted to den class object. The required column names are "NAME" for the names of the individuals and "AFFILIATION" for the names of the affiliations. Common variables include: ROLE, TAGS, PERSON_ID, DESCRIPTION, GENDER

Usage

as.den(x)

Arguments

x

a data.frame

Value

a den-class object

Examples

data(den)
as.den(den)

antongrau/eliter documentation built on March 2, 2024, 8:05 p.m.