Description Usage Arguments Details Value Examples
View source: R/expandFunctions.R
Plots y and yHat on the same scale as a scatterplot with a 1:1 reference line in red. This is useful for visually comparing actual data y with estimates yHat, determining outliers, etc.
1 |
y |
Vector or matrix coercible to vector. Typically will be the quantity to be predicted. |
yHat |
Vector or matrix coercible to vector, same length as y. Typically will be the prediction. |
... |
Optional additional graph parameters. |
Normally only makes sense with vectors, column matrices, or row matrices.
Returns invisibly - only used for graphic side effects.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.