Learn R Programming

topologyR (version 0.1.2)

is_topology_connected: Topology Analysis Functions for Time Series Data

Description

Functions for analyzing topological properties of time series data

Usage

is_topology_connected(topology)

Value

logical scalar. Returns TRUE if the topology is connected (all elements can be reached from any starting point through the undirected graph representation), FALSE otherwise. Returns FALSE if the topology is empty.

Arguments

topology

A list of sets representing the topology

Author

José Mauricio Gómez Julián

Details

This module provides three main functions for analyzing the connectivity of topological structures, particularly focused on economic time series:

  • is_topology_connected: Uses an undirected graph approach

  • is_topology_connected2: Uses a directed graph approach

  • is_topology_connected_manual: Uses a manual checking approach

Created as part of research on economic cycle analysis. Check if a topology is connected using undirected graph approach

Examples

Run this code
topology <- list(c(1,2,3), c(3,4,5))
is_topology_connected(topology)

Run the code above in your browser using DataLab