% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/estimation.R
\name{threshold_index}
\alias{threshold_index}
\title{Enumerate item-category thresholds}
\usage{
threshold_index(m)
}
\arguments{
\item{m}{Integer vector of maximum scores per item (1 for dichotomous items).}
}
\value{
A data frame with columns \code{id}, \code{item}, and \code{k} (the
  within-item threshold number).
}
\description{
Builds the index mapping each item-category threshold to a global id, given
the maximum score of each item.
}
\examples{
threshold_index(c(1, 3, 2))
}
