Counts the number of nodes in a tree.

getNumNodes(tree)

Arguments

tree

A SEM tree object.

References

Brandmaier, A.M., Oertzen, T. v., McArdle, J.J., & Lindenberger, U. (2013). Structural equation model trees. Psychological Methods, 18(1), 71-86.

Author

Andreas M. Brandmaier, John J. Prindle