Defines functions check_input

# Check whether the input list has the correct format
check_input <- function(input){
		stop("The input data must a list! Please check the data input!")
	for(i in names(input)){
		if(!inherits(input[[i]], "trans_network")){
			stop(i, " in the input list is not a trans_network object! Please check it!")

Try the meconetcomp package in your browser

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

meconetcomp documentation built on Oct. 5, 2022, 5:08 p.m.