Calculates the value of the shrinkage coefficient for the off-diagonal matrices as described in [Cruz-Cano et al., 2012]
off.diagonal.lambda(xs, p, q)Shrinkage coefficient for the off-diagonal matrices used to calculate the FRCC canonical structure.
Matrix with the values for the datasets X and Y.
Number of variables in the dataset X.
Number of variables in the dataset Y.
Raul Cruz-Cano
Cruz-Cano, R.; Lee, M.L.T.; Fast Regularized Canonical Correlation Analysis, Computational Statistics & Data Analysis, Volume 70, 2014, Pages 88-100, ISSN 0167-9473, https://doi.org/10.1016/j.csda.2013.09.020.