node_comp: Generate a microtable object with node distributions across...

View source: R/node_comp.R

node_compR Documentation

Generate a microtable object with node distributions across networks

Description

Generate a microtable object with node distributions across networks. Useful for the node information comparisons across different networks.

Usage

node_comp(network_list, property = "name")

Arguments

network_list

a list with multiple networks; all the networks should be trans_network object created from trans_network class of microeco package.

property

default "name"; a colname of res_node_table in each network; the default "name" represents using node presence/absence information in the otu_table of final output, in which 1 represents presence of the node in the corresponding network; For other options (such as degree), the results in the output otu_table are the actual values of res_node_table.

Value

microtable object

Examples


data(soil_amp_network)
test <- node_comp(soil_amp_network)
# test is a microtable object


meconetcomp documentation built on Nov. 18, 2023, 5:06 p.m.