measurefun.Rd
Evaluate the smallest cononical correlation (ccor) coefficients or trace statistic between two matrices, where a larger ccor or trace statistic is better.
measurefun(hH, H, type=c('trace_statistic','ccor'))
a n
-by-q
matrix, the estimated matrix.
a n
-by-q
matrix, the true matrix.
a character taking value within c('trace_statistic','ccor')
, default as 'trace_statistic'.
return a real number.
nothing