print.cbc_choices: Print method for cbc_choices objects

View source: R/methods.R

print.cbc_choicesR Documentation

Print method for cbc_choices objects

Description

Print method for cbc_choices objects

Usage

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

Arguments

x

A cbc_choices object

...

Additional arguments passed to print

Value

Returns the input cbc_choices object invisibly (class: c("cbc_choices", "data.frame")). This function is called for its side effect of printing a formatted summary of the CBC choice data to the console, including choice task structure, simulation details, choice rates by alternative, and a preview of the choice data.


jhelvy/cbcTools documentation built on July 17, 2025, 3:02 a.m.