Learn R Programming

mcmodule (version 1.2.0)

mcmodule_dim_check: Check Dimension Compatibility of Monte Carlo Nodes

Description

[Experimental] Validates that all mcnodes in a module have compatible dimensions for sensitivity analysis by checking uncertainty and variate dimensions.

Usage

mcmodule_dim_check(mcmodule, mc_names = NULL)

Value

A list with: n_mcnodes (count), n_variate (variate count), n_uncertainty (uncertainty simulation count).

Arguments

mcmodule

(mcmodule object). Module containing nodes.

mc_names

(character vector, optional). Node names to check. If NULL, checks all nodes. Default: NULL.