subtree: SEMtree Partitioning Tool

View source: R/subtree.R

subtreeR Documentation

SEMtree Partitioning Tool

Description

The subtree function returns a tree from a selected node of the semtree returned tree.

Usage

subtree(tree, startNode = NULL, level = 0, foundNode = FALSE)

Arguments

tree

A SEMtree object obtained from semtree

startNode

Node id, which will be future root node (0 to max node number of tree)

level

Ignore. Only used internally.

foundNode

Ignore. Only used internally.

Details

The row names of the resulting data frame correspond to internal node ids and the column names correspond to standard errors in the SEM. Standard errors of the estimates can be obtained from se.

Value

Returns a semtree object which is a partitioned tree from the input semtree.

Author(s)

Andreas M. Brandmaier, John J. Prindle

References

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

See Also

semtree, semtree.control


semtree documentation built on May 29, 2024, 4:05 a.m.