process_input: Process the input constraints

Description Usage Arguments Value Author(s)

Description

This function checks and prepares the network constraints before calling the C++ code.

Usage

1
process_input(constraints, useRowNames = FALSE)

Arguments

constraints

A matrix or data frame containing the row and column sums

useRowNames

Logical if TRUE it the vertex names will be taken from the data frame's row names. This is not used for matrices.

Value

an object ready for sending to the C++ functions as input

Author(s)

Douglas Ashton


dougmet/unsumnet documentation built on May 15, 2019, 10:44 a.m.