| alsi_workflow | R Documentation |
Example workflow using the ALSI package
alsi_workflow(
path,
vars,
B_pa = 2000,
B_boot = 2000,
q = 0.95,
seed = 20260123
)
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 |
List containing all analysis objects
# 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.