Learn R Programming

semtree (version 0.9.16)

proximity: SEM Forest Case Proximity

Description

A semforest process to represent proportion of trees where each case are in the same leaf nodes. The values are bounded (0,1), where higher values are closer in proximity.

Usage

proximity(forest, dataset = NULL, type = 0, aggregate = T, ...)

Arguments

forest

A semforest object.

dataset

A dataset to compute proximity values for.

type

Missingness accounted for. (0 = no, 1 = yes)

aggregate

Boolean marker to compute aggregate proximity scores.

Optional arguments.

Value

A matrix with dimensions NxN is returned. The values of each cell are bounded (0,1) and represent proportion of trees where each case are in the same leaf nodes.

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

semforest, semtree