% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/CechComplex.R
\name{CechComplex}
\alias{CechComplex}
\title{Construct a Cech Complex}
\usage{
CechComplex(points, epsilon)
}
\arguments{
\item{points}{A numeric matrix or data.frame with one point per row
(columns are coordinates).}

\item{epsilon}{A non-negative numeric radius, used only to bound how many
candidate simplices are generated (see Details) - not a promise that
every returned simplex individually satisfies the Cech criterion at
this scale.}
}
\value{
A list with:
\describe{
  \item{network}{An \code{igraph} object: the 1-skeleton of the candidate
    graph (edges where distance \eqn{\le 2\epsilon}).}
  \item{simplices}{A list of integer vectors, each the vertex indices of
    a maximal clique of \code{network}.}
}
}
\description{
Construct a Cech Complex
}
\examples{
points <- matrix(c(0, 1, 1, 0, 0, 0, 1, 1), ncol = 2)
cech_complex <- CechComplex(points, epsilon = 0.8)
}
