layout_egogram {egor}R Documentation

Create layout for an egogram

Description

This creates pairs of x and y coordinates for a egogram, accompanied by alter IDs for each coordinate pair.

Usage

layout_egogram(altID, venn_var, pie_var)

Arguments

altID

Vector of alter IDs.

venn_var

Vector of values representing alter groups corresponding with venns in an egogram.

pie_var

Vector of values representing alter groups corresponding with pieces of pie in an egogram.

Value

A dataframe with three columns: x, y and altID.


[Package egor version 1.24.2 Index]