powered by
Also known as the coefficient of determination
r_squared(y, y_hat)
A numeric vector representing the actual values.
A numeric vector representing the forecasted values.
Other error/performance functions: ae, mae, mase, mse, se
ae
mae
mase
mse
se