% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/istem-helpers.R
\name{model_type_to_int}
\alias{model_type_to_int}
\title{Map resolved model name to integer code}
\usage{
model_type_to_int(model)
}
\arguments{
\item{model}{Character string (canonical model name).}
}
\value{
Integer model type code.
}
\description{
Converts the canonical model string returned by \code{resolve_model_type()}
to the integer code expected by the Stan models (1 = 1PL, 2 = 2PL,
3 = 3PL, 4 = 4PL).
}
\keyword{internal}
