% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/estimate_profiles_robust.R
\name{estimate_profiles_robust}
\alias{estimate_profiles_robust}
\title{Estimate Robust Latent Profile Models}
\usage{
estimate_profiles_robust(
  data,
  n_profiles = 1:3,
  models = c(1, 2, 3, 4, 5, 6),
  n_starts = 5
)
}
\arguments{
\item{data}{A matrix or data.frame.}

\item{n_profiles}{A vector of integers specifying the number of profiles to run (e.g., 1:3).}

\item{models}{A vector of LPA models to run (e.g., c(1, 2, 3, 4, 5, 6)). Default is c(1, 2, 3, 4, 5, 6).}

\item{n_starts}{Number of initializations per model.}
}
\value{
A list containing the fit comparison table and the estimated models.
}
\description{
This function provides a user-friendly interface to fit multiple robust LPA
models simultaneously across different numbers of profiles and model structures,
returning a comprehensive fit summary table.
}
\examples{
# Quick evaluation of multiple profiles
data(iris)
res <- estimate_profiles_robust(iris[1:30, 1:2], n_profiles = 1:2, models = 1, n_starts = 1)
res$fit_table
}
