validateNodes {SEMID}R Documentation

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.


[Package SEMID version 0.4.1 Index]