Description Usage Arguments Value
View source: R/color_by_node.R
Helper function to create a list with colors for left and right child node of the node by which A/B/C coloring is performed
1 | create_bg_list(object, node_ID, background_cols)
|
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 |
background_cols |
A character vector indicating the colors of the background panels for left and right terminal nodes of the inner node by which items are 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.