This method keeps the familiar shape of summary.lm() but treats coefficient
p-values cautiously. The default p_values = "honest" shows p-values
for continuous predictors and two-level categorical predictors, but hides
intercept p-values and multi-level categorical contrast p-values with NA.
Notes explain what was hidden.
Usage
# S3 method for class 'honest_lm'
summary(
object,
...,
conf.level = 0.95,
p_values = NULL,
intercept_p_value = FALSE
)Arguments
- object
An
honest_lmobject.- ...
Unused.
- conf.level
Confidence level used for stored confidence intervals.
- p_values
Optional p-value policy. See
honest_lm().- intercept_p_value
Logical. Set to
TRUEto show the intercept p-value when coefficient p-values are shown.