Learn R Programming

topologyR (version 0.1.2)

simplest_topology: Create a topology with completely disconnected sets

Description

This function generates a topology where each set in the topology is a singleton (contains only one element), resulting in a completely disconnected topological structure. Each vertex exists in isolation, with no meaningful connections between sets.

Usage

simplest_topology(datos)

Value

A list with four components:

R

List. The equivalence relation defined on the data vertices.

subbase

List. Sets of individual vertices forming the subbase.

base

List. Singleton sets forming the base of the topology.

topology

List. The complete topology consisting of disconnected singleton sets.

Arguments

datos

Numeric vector containing the data points to analyze

Details

The subbase contains individual elements. The base consists of singleton sets. The topology is formed by these singleton sets. No meaningful topological relationships are established between elements.

Examples

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

Run the code above in your browser using DataLab