R2.ts | R Documentation |
Compute the R-squared (R2) between actual values and forecasts of a time series
R2.ts(actual, prediction)
actual |
real observations |
prediction |
predicted observations |
returns a number, which is the calculated R2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.