Learn R Programming

patterncausality (version 0.2.0)

summary.pc_cv: Summary of Pattern Causality Cross Validation Results

Description

Provides a summary of the pattern causality cross-validation results. This function calculates and displays summary statistics for the cross-validation results, including sample statistics, causality statistics, and convergence.

Usage

# S3 method for pc_cv
summary(object, ...)

Value

Invisibly returns the input object.

Arguments

object

A pc_cv object.

...

Additional arguments passed to the summary function.

Examples

Run this code
data(climate_indices)
X <- climate_indices$AO
Y <- climate_indices$AAO
numberset <- c(100, 150, 200)
cv_results <- pcCrossValidation(X, Y, 3, 2, "euclidean", 1, FALSE, numberset = numberset)
summary(cv_results)

Run the code above in your browser using DataLab