create_color_list: Helper function to create a list with colors and point sizes...

Description Usage Arguments Value

View source: R/color_by_node.R

Description

Helper function to create a list with colors and point sizes for each terminal node

Usage

1
create_color_list(object, node_ID, pars, default)

Arguments

object

An object of class raschtree that has the mantelhaenszel statistic added to it.

node_ID

An integer indicating the inner node after which the item paramter should be colored

pars

A character vector of length three indicating the colors in which items classified as A/B/C should be displayed

default

The default color for end nodes that are not colored

Value

A list named after the terminal nodes containing the colors of the item parameter based on ETS Mantel-Haenszel classification


mirka-henninger/raschtreeMH documentation built on Dec. 21, 2021, 6:59 p.m.