estimate_rank_by_permutation_rv.RdEstimate Joint Rank via Cross-View RV Analysis
estimate_rank_by_permutation_rv(
mat_list,
n_permutations = 20,
var_explained_threshold = 0.9,
handle_missing = TRUE,
return_max = FALSE
)A list of numeric matrices [subjects x features].
Number of permutations (0 = Elbow method).
Variance threshold to determine individual k_max.
Boolean; if TRUE, replaces NA/Constant columns with row means.
Boolean; if TRUE, returns only the k_max and skips curves.
A list containing optimal_k, results tibble, and a diagnostic plot.