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.


SEMID documentation built on July 26, 2023, 5:40 p.m.