calc_Rsqr_spd: calc_Rsqr_spd

Description Usage Arguments

View source: R/frechet_variance_spd.R

Description

Calculates R Squared on the SPD manifold.

Usage

1
calc_Rsqr_spd(Y, Yhat, pKarcher = NULL, maxiter = 200)

Arguments

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.


mrparker909/MGLMRiem documentation built on March 19, 2020, 3:37 p.m.