MATLAB: How is the coefficient ‘R’ calculated in regression plots in neural network toolbox

neural network performancenon-linear regression

Could anyone please explain how is the coefficient 'R' computed for regression plots in neural network toolbox…and is it known as 'Correlation Coefficient'

Best Answer

t = target
y = output
Cyt = corrcoef(y,t)
R = Cyt(2,1)