Learn R Programming

SEMID (version 0.4.1)

validateNodes: A helper function to validate if input nodes are valid.

Description

Produces an error if outside bounds.

Usage

validateNodes(nodes, numNodes)

Arguments

nodes

the input nodes, expected to be from the collection 1:(number of nodes in the graph)

numNodes

the number of observed nodes in the graph.