% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/unsupervised-market-basket.R
\name{find_related_items}
\alias{find_related_items}
\title{Find Related Items}
\usage{
find_related_items(rules_obj, item, min_lift = 1.5, top_n = 10)
}
\arguments{
\item{rules_obj}{A tidy_apriori object}

\item{item}{Character; item to find associations for}

\item{min_lift}{Minimum lift threshold (default: 1.5)}

\item{top_n}{Number of top associations to return (default: 10)}
}
\value{
A tibble of rules involving the specified \code{item}, filtered by
\code{min_lift} and sorted by lift in descending order.
}
\description{
Find items frequently purchased with a given item
}
\examples{
\donttest{
if (requireNamespace("arules", quietly = TRUE)) {
  data("Groceries", package = "arules")
  res <- tidy_apriori(Groceries, support = 0.001, confidence = 0.5)
  find_related_items(res, "whole milk", min_lift = 1.5)
}
}

}
