Functions for age-period-cohort analysis. Aggregate data can be organised in matrices indexed by age-cohort, age-period or cohort-period. The data can include dose and response or just doses. The statistical model is a generalized linear model (GLM) allowing for 3,2,1 or 0 of the age-period-cohort factors. Individual-level data should have a row for each individual and columns for each of age, period, and cohort. The statistical model for repeated cross-section is a generalized linear model. The statistical model for panel data is ordinary least squares. The canonical parametrisation of Kuang, Nielsen and Nielsen (2008) <DOI:10.1093/biomet/asn026> is used. Thus, the analysis does not rely on ad hoc identification.
lattice, plyr, reshape, plm, survey, lmtest, car, ISLR, AER,
ggplot2, ChainLadder

person(given="Robert",
family="Nuske",
role=c("aut", "cre"),
email="robert.nuske@mailbox.org",
comment=c(ORCID="0000-0001-9773-2061"))
The adapted pair correlation function transfers the concept of the
pair correlation function from point patterns to patterns of objects of
finite size and irregular shape (e.g. lakes within a country). This is a
reimplementation of the method suggested by Nuske et al. (2009)
<doi:10.1016/j.foreco.2009.09.050> using the libraries 'GEOS' and 'GDAL'
directly instead of through 'PostGIS'.

person(given="Robert",
family="Nuske",
role=c("aut", "cre"),
email="robert.nuske@nw-fva.de",
comment=c(ORCID="0000-0001-9773-2061"))

The adapted pair correlation function transfers the concept of the
pair correlation function from point patterns to patterns of objects of
finite size and irregular shape (e.g. lakes within a country). This is a
reimplementation of the method suggested by Nuske et al. (2009)
<doi:10.1016/j.foreco.2009.09.050> using the library 'GEOS'.

person(given="Robert", family="Nuske", role=c("aut", "cre"),
email="robert.nuske@mailbox.org",
comment=c(ORCID="0000-0001-9773-2061"))
The adapted pair correlation function transfers the concept of the
pair correlation function from point patterns to patterns of objects of
finite size and irregular shape (e.g. lakes within a country).  The pair
correlation function describes the spatial distribution of objects, e.g.
random, aggregated or regularly spaced. This is a reimplementation of the
method suggested by Nuske et al. (2009) <doi:10.1016/j.foreco.2009.09.050>
using the library 'GEOS'.