% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/counting.R
\name{build_author_bipartite}
\alias{build_author_bipartite}
\title{Build a weighted bipartite matrix using positional counting}
\usage{
build_author_bipartite(
  data,
  field = "authors",
  counting = "full",
  position_weights = c(1, 0.8, 0.6, 0.4),
  first_last_weight = 2,
  deduplicate = TRUE
)
}
\arguments{
\item{data}{A data frame with \code{id} and \code{authors} (list-column where
author order is preserved).}

\item{counting}{Character. Counting method.}

\item{position_weights}{Numeric vector for \code{counting = "position_weighted"}.}

\item{first_last_weight}{Numeric for \code{counting = "first_last"}.}
}
\value{
A sparse weighted bipartite matrix (works x authors).
}
\description{
For position-dependent counting methods, this replaces the binary bipartite
matrix entries with positional weights derived from author order.
}
\keyword{internal}
