View source: R/tsqca_config_chart.R
| generate_cross_threshold_chart | R Documentation |
Creates a configuration chart from threshold sweep results. Supports two levels of aggregation: solution-term level (Fiss-style, default) and threshold-level summary.
generate_cross_threshold_chart(
result,
conditions = NULL,
symbol_set = c("unicode", "ascii", "latex"),
chart_level = c("term", "summary"),
language = c("en", "ja")
)
result |
A result object from any Sweep function (otSweep, ctSweepS, ctSweepM, or dtSweep). |
conditions |
Character vector. Condition names for row ordering. If NULL, automatically extracted from expressions. |
symbol_set |
Character. One of |
chart_level |
Character. Chart aggregation level:
|
language |
Character. |
Character string containing Markdown-formatted table.
## Not run:
data(sample_data)
result <- otSweep(
dat = sample_data,
outcome = "Y",
conditions = c("X1", "X2", "X3"),
sweep_range = 6:8,
thrX = c(X1 = 7, X2 = 7, X3 = 7)
)
# Solution-term level, Fiss-style (default)
chart <- generate_cross_threshold_chart(result, c("X1", "X2", "X3"))
cat(chart)
# Threshold-level summary
chart <- generate_cross_threshold_chart(result, c("X1", "X2", "X3"),
chart_level = "summary")
cat(chart)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.