View source: R/Plot_residuals.R
Do a scatter plot of a matrix according to age-period-cohorts
1 2 |
mat |
Matrix with the data to plot. |
ages |
Ages corresponding to the rows in |
years |
Years corresponding to the columns in |
plotAge |
Logical value indicating if the age scatter plot should be produced. |
plotYear |
Logical value indicating if the calendar year scatter plot should be produced. |
plotCohort |
Logical value indicating if the cohort scatter plot should be produced. |
zeroLine |
Logical value indicating if a horizontal line at zero should be plotted. |
... |
Other plotting parameters to be passed to the plotting functions. This can be used to control the appearance of the plots. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.