Skip to contents

This function updates nodes to set prune flags based on a comparison with an external data frame that specifies which node combinations should not be pruned.

Usage

find_and_update_nodes(node, path = NULL, res_df)

Arguments

node

The node to update.

path

The current path of nodes, initially NULL.

res_df

The data frame containing combinations that should not be pruned.

Value

The node with updated prune flags.

Examples

if (FALSE) { # \dontrun{
  updated_node <- find_and_update_nodes(node, NULL, res_df)
} # }