Learn R Programming

multilevelPSA (version 1.2.5)

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)

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