Learn R Programming

convergenceDFM (version 0.1.4)

run_rotation_null_on_results: Run rotation null test on complete analysis results

Description

Wrapper function that extracts factors from a complete analysis object and runs the rotation null test.

Usage

run_rotation_null_on_results(
  results_robust,
  lag = 1,
  B = 1000,
  seed = 42,
  rotate = "Y",
  compute = c("procrustes", "cca", "principal", "dynbeta")
)

Value

List. Output from rotation_null_test.

Arguments

results_robust

Output from run_complete_factor_analysis_robust()

lag

Number of lags for the model (default: 1)

B

Number of bootstrap iterations (default: 1000)

seed

Random seed for reproducibility (default: 42)

rotate

Which dataset to rotate: 'X' or 'Y' (default: 'Y')

compute

Vector of methods to compute: 'procrustes', 'cca', 'principal', 'dynbeta'