This is a compact visual summary of the response rules in a model. It avoids
equations and instead shows the observed responses, the accumulators or pools
that feed them, and any blocking relationships.
Usage
processing_tree(
model,
outcome_label = NULL,
component = NULL,
return_dot = FALSE
)
Arguments
- model
A race model (`race_spec`, a finalized model, or `model_tables`).
- outcome_label
Optional response label. If supplied, only that response
is shown.
- component
Optional mixture component. Reserved for future use.
- return_dot
If `TRUE`, return the Graphviz DOT string instead of a plot.
Value
If `DiagrammeR` is available and `return_dot = FALSE`, a
`DiagrammeR` graph. Otherwise, a list with `dot`, `nodes`, and `edges`.