View source: R/print.projoint_results.R
| print.projoint_results | R Documentation |
Custom print method for objects of class projoint_results.
## S3 method for class 'projoint_results'
print(x, ...)
x |
An object of class |
... |
Additional arguments (ignored). |
No return value, called for its side effect of printing a summary of
the projoint_results object to the console.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.