% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/functions.R
\name{plot_item_curves}
\alias{plot_item_curves}
\title{Plot Item Characteristic Curves (ICC)}
\usage{
plot_item_curves(theta_all, Modified_prob_matrix, results)
}
\arguments{
\item{theta_all}{A numeric vector of ability levels.}

\item{Modified_prob_matrix}{The matrix returned by compute_Modified_probabilities.}

\item{results}{The data frame returned by fit_binary_irt.}
}
\value{
No return value, called for side effects. It generates a series of plots
showing the Item Characteristic Curves (ICC) for each item in the model.
}
\description{
Plot Item Characteristic Curves (ICC)
}
\examples{
set.seed(123)
sample_data <- matrix(sample(c(0, 1), 100, replace = TRUE), ncol = 10)
prepared <- prepare_data(sample_data)
irt_results <- fit_binary_irt(prepared$matrix, prepared$total_score)

theta_range <- seq(0, 10, length.out = 100)
probs <- compute_Modified_probabilities(irt_results, theta_range)

# Plot the curves
plot_item_curves(theta_range, probs, irt_results)

}
