print.projoint_results: Print method for projoint_results

View source: R/print.projoint_results.R

print.projoint_resultsR Documentation

Print method for projoint_results

Description

Custom print method for objects of class projoint_results.

Usage

## S3 method for class 'projoint_results'
print(x, ...)

Arguments

x

An object of class projoint_results.

...

Additional arguments (ignored).

Value

No return value, called for its side effect of printing a summary of the projoint_results object to the console.

Examples


data(exampleData1)
dat <- reshape_projoint(
  exampleData1,
  .outcomes = c("choice1", "choice2", "choice1_repeated_flipped")
)
att <- unique(dat$labels$attribute_id)[1]
levs <- subset(dat$labels, attribute_id == att)$level_id
lev_names <- sub(".*:", "", levs)
q <- set_qoi(
  .structure     = "choice_level",
  .estimand      = "mm",
  .att_choose    = att,
  .lev_choose    = lev_names[2],
  .att_notchoose = att,
  .lev_notchoose = lev_names[1]
)
fit <- projoint(dat, .qoi = q)
print(fit)


projoint documentation built on Feb. 16, 2026, 5:10 p.m.