% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plots.R
\name{plot_threshold_map}
\alias{plot_threshold_map}
\title{Plot the threshold map}
\usage{
plot_threshold_map(fit, order_by_location = TRUE)
}
\arguments{
\item{fit}{A fitted object from \code{\link{rasch}}.}

\item{order_by_location}{Order items by their location (the default)
rather than their original sequence.}
}
\value{
Called for its plotting side effect; invisibly \code{NULL}.
}
\description{
Each item's threshold locations on a common logit scale, ordered by item
location, with disordered thresholds highlighted.
}
\examples{
set.seed(1)
d <- seq(-2, 2, length.out = 6)
X <- matrix(rbinom(400 * 6, 1, plogis(outer(rnorm(400), d, "-"))), 400, 6)
colnames(X) <- paste0("I", 1:6)
plot_threshold_map(rasch(X))
}
