Interactive HTML widget for a model's factors and dummy coding
Source:R/render-factor-views.R
as_html_factor_views.Rdas_html_factor_views() renders a four-tab interactive widget that walks a
reader through the categorical structure of a fit: the coding scheme (levels,
reference, indicator columns), the per-group means, the pairwise comparisons,
and the interactions. It is the web-facing companion to explain_factors().
Estimates are drawn in the Confidence-Eye grammar – a pale compatibility region with a darker interval outline and a hollow point estimate; the language is confidence/compatibility, never posterior. Tabs 2-4 need emmeans; without it they show a short note.
Arguments
- x
A
symbolized_model(output ofsymbolize()).- id
Character id stem for the widget's element ids. Default
"symfv".- standalone
Logical; if
TRUE, wrap the fragment in a self-contained HTML page (with a MathJax bootstrap) suitable for opening directly in a browser. DefaultFALSE(an embeddable fragment).- file
Optional path; if given, the HTML is written there and returned invisibly instead of printed.
- ...
Reserved for future use.