scatterplotAPC: Do a scatter plot of a matrix according to age-period-cohorts

Description Usage Arguments

View source: R/residualsfitStMoMo.R

Description

Do a scatter plot of a matrix according to age-period-cohorts

Usage

1
2
scatterplotAPC(mat, ages, years, plotAge = TRUE, plotYear = TRUE,
  plotCohort = TRUE, zeroLine = TRUE, ...)

Arguments

mat

matrix with the data to plot.

ages

ages corresponding to the rows in mat.

years

years corresponding to the columns in mat.

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 arguments to pass to the plot function.


StMoMo documentation built on May 2, 2019, 11:42 a.m.