Learn R Programming

patterncausality (version 0.2.0)

summary.pc_matrix: Summarize Pattern Causality Matrix

Description

Provides a summary of the pattern causality matrix object. This function calculates and displays descriptive statistics (mean, SD, min, max) for each causality matrix (positive, negative, dark).

Usage

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

Value

Invisibly returns the input object.

Arguments

object

A pc_matrix object.

...

Additional arguments passed to the summary function.

Examples

Run this code
data(climate_indices)
dataset <- climate_indices[, -1]
pc_matrix_obj <- pcMatrix(dataset, E = 3, tau = 1, 
  metric = "euclidean", h = 1, weighted = TRUE, 
  verbose = FALSE)
summary(pc_matrix_obj)

Run the code above in your browser using DataLab