Skip to contents

This function counts the total number of nodes in a gating tree.

Usage

count_nodes(tree)

Arguments

tree

The gating tree structure.

Value

The total number of nodes in the tree.

Examples

if (FALSE) { # \dontrun{
count_nodes(tree)
} # }