Learn R Programming

neatmaps (version 1.1.0)

compactNodeAttr: Node Attribute Compactor

Description

compactNodeAttr creates a data frame that summarizes node attributes.

Usage

compactNodeAttr(node.df, measureOfCent = "mean")

Arguments

node.df

A data frame containing all the characteristics of the nodes in the network. If there are n networks, a maximum of x nodes per network and y variables for each node, the data frame should have n rows and x*y columns. The column names of each variable should be writen as follows: var1, var2, ... , varX.

measureOfCent

A vector that contains the measures of centrality with which to summarize the node attributes. The supported measures are "mean" and "median".