Learn R Programming

multilevelPSA (version 1.3.0)

getStrata: 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)

Value

a data frame

Arguments

party.results

the results of [mlpsa.ctree()]

data

the data frame to merge results to

level2

the name of the level 2 variable.

See Also

mlpsa.ctree