% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/run_simulation_study.R
\name{run_simulation_study}
\alias{run_simulation_study}
\title{Run a simulation study}
\usage{
run_simulation_study(
  dimensions = list(c(500L, 100L), c(500L, 20L), c(100L, 20L), c(80L, 25L), c(60L, 33L),
    c(40L, 50L), c(20L, 100L)),
  true_ncomp = c(2L, 4L, 6L),
  missing_props = seq(5, 50, 5),
  mechanisms = c("MCAR", "MAR"),
  reps = 1L,
  seed = NULL,
  max_ncomp = 8L,
  criteria = c("Q2-LOO", "Q2-10fold", "AIC", "AIC-DoF", "BIC", "BIC-DoF"),
  incomplete_methods = c("nipals_standard", "nipals_adaptative"),
  imputation_methods = c("mice", "knn", "svd"),
  folds = 10L,
  mar_y_bias = 0.8
)
}
\arguments{
\item{dimensions}{List of \verb{(n, p)} integer pairs.}

\item{true_ncomp}{Vector of true component counts.}

\item{missing_props}{Missing-data proportions as fractions or percentages.}

\item{mechanisms}{Missing-data mechanisms.}

\item{reps}{Number of replicates.}

\item{seed}{Optional base random seed.}

\item{max_ncomp}{Maximum number of extracted components.}

\item{criteria}{Criteria evaluated on complete and imputed data.}

\item{incomplete_methods}{Incomplete-data NIPALS workflows.}

\item{imputation_methods}{Imputation methods.}

\item{folds}{Number of folds used by \code{"Q2-10fold"}.}

\item{mar_y_bias}{MAR bias parameter passed to \code{\link[=add_missingness]{add_missingness()}}.}
}
\value{
A data frame with one row per study run.
}
\description{
Run the simulation workflows used in the article and thesis.
}
