calculate.pd: Calculate percentage decline

calculate.pdR Documentation

Calculate percentage decline

Description

Calculate percentage decline and return unrounded results

Usage

calculate.pd(dt, year1, year2)

Arguments

dt

wide data by year, year1 and year2 shall be columns like 1990, 2000

year1

year1 where year1 < year2

year2

year2 where year1 < year2

Value

dt with added columns named like "PD1990-2000"


unicef-drp/CME.assistant documentation built on June 3, 2024, 4:26 a.m.