Learn R Programming

cbcTools (version 0.7.1)

print.cbc_choices: Print method for cbc_choices objects

Description

Print method for cbc_choices objects

Usage

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

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.

Arguments

x

A cbc_choices object

...

Additional arguments passed to print