Description Usage Arguments Value
View source: R/color_by_node.R
Helper function to create a list with colors and point sizes for each terminal node
1 | create_color_list(object, node_ID, pars, default)
|
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 |
A list named after the terminal nodes containing the colors of the item parameter based on ETS Mantel-Haenszel classification
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.