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

Share:

Description

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

Usage

1
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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.