corrcoef
Luo_Suppe2026-08-15
gma.math.evaluation.corrcoef
function corrcoef(real, pred, method = "pearson", axis = 0):
Correlation coefficient and significance.
Parameters:
real: array.
Measured data.
pred: array.
Simulation data.
Optional:
method = str. Default 'pearson'.
Supported methods include: 'pearson', 'kendall', 'spearman'.
axis = int. Default 0.
The axis to use for calculations.
Returns:
Type: namedtuple.