Learn R Programming

topologyR (version 0.1.2)

complete_topology: Create a complete topology from data points with neighborhood structure

Description

Create a complete topology from data points with neighborhood structure

Usage

complete_topology(datos)

Value

A list with four components:

R

List. The equivalence relation defined on the data, where each element represents a relationship between vertices based on their degrees and values.

subbase

List. The neighborhoods of each vertex, where each element contains the indices of neighboring vertices in the graph.

base

List. The base generated from intersections of neighborhoods, including the empty set, full set, and all non-empty intersections.

topology

List. The complete topology generated by taking unions of base elements, satisfying the axioms of topological spaces.

Arguments

datos

Numeric vector containing the data points to analyze

Examples

Run this code
data <- c(1, 2, 3, 4, 5)
result <- complete_topology(data)

Run the code above in your browser using DataLab