gather_nodes: Collect type information for nodes in a network

Description Usage Arguments Value Examples

View source: R/functions.R

Description

Collect type information for nodes in a network

Usage

1
gather_nodes(x, typ = NA)

Arguments

x

a dataframe with columns as measured variables that could be nodes in a correlation network

typ

either a single text value or a text vector of length equal to the number of columns describing the type(s) of these potential nodes

Value

returns a two column dataframe. The column 'node' is populated with the column names from the original dataframe. The 'type' column is user supplied.

Examples

1
#soon

Jtrachsel/funfuns documentation built on Aug. 8, 2021, 7:31 p.m.