Generic function for executing analysis objects. This function provides a
unified interface for running different types of analysis configurations.
Arguments
- x
An S7 object to run (e.g., rctbp_power_analysis)
- ...
Additional arguments passed to specific methods
Value
The result depends on the specific method called. For power analysis
objects, returns the modified object with results stored in the
summarized_results and raw_results properties.
Details
This generic function dispatches to appropriate methods based on the class
of the input object. Currently supported:
Examples
if (FALSE) { # \dontrun{
# Create and run power analysis
power_config <- rctbp_power_analysis(conditions = conditions, n_sims = 100)
power_config <- run(power_config)
} # }