Custom print method for objects of class projoint_results
.
Usage
# S3 method for class 'projoint_results'
print(x, ...)
Value
No return value, called for its side effect of printing a summary of
the projoint_results
object to the console.
Examples
# \donttest{
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 results object
#> -------------------------
#> Estimand: mm
#> Structure: choice_level
#> Standard error method: analytical
#> IRR: Estimated
#> Tau: 0.172
#> Number of estimates: 2
# }