| print.summary.cptga | R Documentation |
Displays key information about the settings and results from a changepoint detection procedure using the Genetic Algorithm (GA) stored in a 'cptga' object. This includes the algorithm configuration, population settings, optimization mode, and final solution such as the number and location of changepoints and model parameters (if applicable).
## S3 method for class 'summary.cptga'
print(x, digits = getOption("digits"), max_display = 5, ...)
x |
An object of class |
digits |
Number of digits to print for probabilities and fitness. Default taken from |
max_display |
Maximum number of suggested solutions to display if suggestions are provided. |
... |
Additional arguments (currently not used). |
When the GA is run in option = "cp" mode, only changepoint locations are shown.
If option = "both", the output includes the selected model hyperparameters along
with changepoint locations.
The function uses plain text output to print a formatted summary to the console. If
x@suggestions is provided, only up to max_display suggestions will be shown.
Invisibly returns NULL. Called for its side effect of printing to the console.
cptga, summary, plot.cptga
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.