alsi_workflow: Example workflow using the ALSI package

View source: R/alsi.R

alsi_workflowR Documentation

Example workflow using the ALSI package

Description

Example workflow using the ALSI package

Usage

alsi_workflow(
  path,
  vars,
  B_pa = 2000,
  B_boot = 2000,
  q = 0.95,
  seed = 20260123
)

Arguments

path

Path to data file (.xlsx) or data frame

vars

Character vector of binary variable names

B_pa

Number of permutations for parallel analysis

B_boot

Number of bootstrap resamples

q

Quantile for parallel analysis

seed

Random seed

Value

List containing all analysis objects

Examples


# Complete workflow
results <- alsi_workflow(
  path = "ANR2.xlsx",
  vars = c("MDD", "DYS", "DEP", "PTSD", "OCD", "GAD", "ANX", "SOPH", "ADHD"),
  B_pa = 2000,
  B_boot = 2000
)

# Access components
results$pa       # Parallel analysis
results$boot     # Bootstrap stability
results$alsi     # ALSI values


alsi documentation built on Feb. 17, 2026, 5:07 p.m.