Skip to contents

Generic wrapper function that identifies required parameters for either rctbp_design or rctbayespower_model objects by dispatching to the appropriate specific function.

Usage

required_fn_args(object, print = TRUE)

Arguments

object

Either an rctbp_design or rctbayespower_model object

print

Logical. If TRUE (default), prints the required parameters to console

Value

For design objects: a list with simulation, interim, and all parameters. For model objects: a character vector of required parameters. Both returned invisibly.

Examples

if (FALSE) { # \dontrun{
required_fn_args(my_object)
} # }