autoSmoothAPC function

Smooths demographic data using automatically estimated parameters and optionally taking into account period and cohort effects