R/get_edge_table.R

Defines functions get_edge_table

Documented in get_edge_table

#' Get edge property table for each network
#'
#' @description
#' Get edge property table for each network in the list with multiple networks.
#'
#' @param network_list a list with multiple networks; all the networks should be trans_network object created from \code{trans_network} class of \code{microeco} package.
#' @return \code{list}, with \code{res_edge_table} in each network
#' @examples
#' data(soil_amp_network)
#' soil_amp_network <- get_edge_table(soil_amp_network)
#' 
#' @export
get_edge_table <- function(network_list){
	check_input(network_list)
	for(i in names(network_list)){
		suppressMessages(network_list[[i]]$get_edge_table())
	}
	network_list
}

Try the meconetcomp package in your browser

Any scripts or data that you put into this service are public.

meconetcomp documentation built on June 23, 2024, 9:06 a.m.