getStrata: Returns a data frame with two columns corresponding to the...

View source: R/mlpsa.ctree.R

getStrataR Documentation

Returns a data frame with two columns corresponding to the level 2 variable and the leaves from the conditional inference trees.

Description

Returns a data frame with two columns corresponding to the level 2 variable and the leaves from the conditional inference trees.

Usage

getStrata(party.results, data, level2)

Arguments

party.results

the results of [mlpsa.ctree()]

data

the data frame to merge results to

level2

the name of the level 2 variable.

Value

a data frame

See Also

mlpsa.ctree


multilevelPSA documentation built on April 11, 2025, 6:18 p.m.