as_adv_attr: Coerce objet to an advanced attribute list

View source: R/adv_tbl_as_adv_table.R

as_adv_attrR Documentation

Coerce objet to an advanced attribute list

Description

Advanced attribute lists only contain information about the nodes and include:

  • nodeset_class

  • nodeset_name

  • node_name

Additionally, there are three columns for every attribute - a column with the name of the attribute, a column with the type that the attribute is, and a column with the attribute value

Usage

as_adv_attr(x, ...)

## S3 method for class 'adv_tbl'
as_adv_attr(x, group_col = NULL)

## S3 method for class 'data.frame'
as_adv_attr(x, nodeset_class, nodeset_name, node_name, group_col)

Arguments

x

object to coerce to advanced edge list

...

aditional arguments to pass on to methods

group_col

column that denotes grouping. Currently only 1 group is supported.

nodeset_class

column with the nodeset class

nodeset_name

column with the nodeset name

node_name

column with the node names


chris-s-friedman/Friedman documentation built on Feb. 12, 2023, 8:02 p.m.