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

View source: R/LatentDigraph.R

validateNodesR 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.


Lucaweihs/SEMID documentation built on July 22, 2023, 7:49 a.m.