% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bipartite.R
\name{build_bipartite_long}
\alias{build_bipartite_long}
\title{Build bipartite matrix from a long-format edge table}
\usage{
build_bipartite_long(edges, min_freq = 1L)
}
\arguments{
\item{edges}{A data frame with columns \code{source} (work id) and \code{target}
(entity id).}

\item{min_freq}{Integer. Minimum entity frequency. Default 1.}
}
\value{
A sparse \code{dgCMatrix}.
}
\description{
Alternative constructor when data is already in long form (e.g., a two-column
data frame of document-reference pairs).
}
\keyword{internal}
