proximity: SEM Forest Case Proximity

Description Usage Arguments Value Author(s) References See Also

View source: R/proximity.R

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

1
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.

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

semforest, semtree


semtree documentation built on July 30, 2021, 9:06 a.m.