View source: R/frechet_variance_spd.R
Calculate R Squared in euclidean space.
1 | calc_Rsqr_euc(Y, Yhat, pKarcher = NULL, maxiter = 200)
|
Y |
The observed matrices (an nxnxN array of N matrices) |
Yhat |
The estimated matrices (an nxnxN array of N matrices) |
pKarcher |
The Karcher mean of the observed spd matrices, or NULL if the Karcher mean is to be calculated. |
maxiter |
If pKarcher is NULL, maxiter is the maximum number of iterations for calculating the Karcher mean. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.