% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/panoramic-spatialstats.R
\name{.precompute_local_comp_cache}
\alias{.precompute_local_comp_cache}
\title{Internal: precompute local composition enrichment cache}
\usage{
.precompute_local_comp_cache(X, radii_um)
}
\arguments{
\item{X}{A marked \code{ppp} object.}

\item{radii_um}{Numeric radii at which to precompute local composition.}
}
\value{
A list containing precomputed local composition matrices and indexing
structures used by local composition bootstrap routines.
}
\description{
Build per-radius local composition enrichment matrices for a point pattern.
For each point and radius, store local neighbor fractions/counts and the
overlap area between the radius-disc and tissue window so enrichment can be
computed as an edge-corrected proportion difference.
}
\keyword{internal}
