View source: R/frechet_variance_spd.R
Calculates R Squared on the SPD manifold.
1 | calc_Rsqr_spd(Y, Yhat, pKarcher = NULL, maxiter = 200)
|
Y |
The observed SPD matrices (an nxnxN array of N SPD matrices) |
Yhat |
The estimated SPD matrices (an nxnxN array of N SPD 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.