regsensitivity-display: Print and summarize a sensitivity analysis

regsensitivity-displayR Documentation

Print and summarize a sensitivity analysis

Description

print() shows the headline: the analysis, the medium-regression coefficient, the breakdown point and a thinned results table. summary() returns an object whose print method adds the call, the control and comparison sets, every sensitivity parameter, the summary statistics and the full results table. For an identified-set sweep that table carries a holds column, TRUE where the identified set lies entirely on the hypothesis' side.

Usage

## S3 method for class 'regsensitivity'
print(x, max_rows = 12, ...)

## S3 method for class 'regsensitivity'
summary(object, ...)

## S3 method for class 'summary.regsensitivity'
print(x, max_rows = Inf, ...)

Arguments

x, object

A regsensitivity object, or for the print() method of the summary, a summary.regsensitivity object.

max_rows

Rows of the results table to show before thinning it to evenly spaced rows. print() defaults to 12, a summary to all of them.

...

Ignored.

Value

print() returns x invisibly. summary() returns an object of class summary.regsensitivity, a list holding call, analysis, subcommand, outcome, treatment, n, controls, compare, hypothesis, sparams (a data frame describing each sensitivity parameter), statistics, breakdown and results.

See Also

breakdown_point(), identified_set() and as.data.frame.regsensitivity() to extract the numbers.

Examples

data(bfg2020)
res <- regsen_bounds(
  avgrep2000to2016 ~ tye_tfe890_500kNI_100_l6 + log_area_2010 + lat + lon,
  data = bfg2020, compare = c("log_area_2010", "lat", "lon"), cbar = 0.1
)
res
summary(res)

regsensitivity documentation built on Nov. 23, 2026, 9:08 a.m.