%!=% | Logical utility functions |

%<% | Logical utility functions |

%<=% | Logical utility functions |

%==% | Logical utility functions |

%>% | Logical utility functions |

%>=% | Logical utility functions |

addcod | append a '$cod' column if missing |

adjustages | adjust the range of ages used by 'ggbChooseAges()' |

assignNoteCode | a cheap way to choose which column to assign a 'NoteCode' to |

avgDeaths | if necessary divide deaths by intercensal interval |

BrasilFemales | Example data for Brasil females by federal states, years 1991 to 2000 |

BrasilMales | Example data for Brasil males by federal states, years 1980 to 1991 |

cdmltw | Coale-Demeny model life table: West |

ddm | run all three deaths registration coverage estimation methods |

ddmplot | get a quick overview of the different estimates produced |

detectAgeInterval | Detect the age interval for some demographic data |

detectSex | Detect the sex for some demographic data |

eOpenCD | estimate remaining life expectancy in the open age group |

fakeDates | assume Jan 1 if no month or day given |

ggb | estimate death registration coverage using the GGB method |

ggbChooseAges | interactively determine ages to use for estimating coverage |

ggbcoverageFromAges | given a set of ages, what is the implied death registration coverage? |

ggbcoverageFromYear | estimate death registration coverage for a single year/sex/region using the GGB method |

ggbFittedFromAges | make the growth-adjusted quasi life table columns required by GGB method |

ggbgetAgesFit | determine the age range that minimizes the mean squared error |

ggbgetRMS | calculate the root means square of the error to help find optimal age range |

ggbMakeColumns | make the growth-adjusted quasi life table columns required by GGB method |

ggbseg | estimate death registration coverage using the hybrid generalized growth balance and synthetic extinct generation |

ggbsegCoverageFromYear | estimate death registration coverage for a single year/sex/region using the modified Bennett-Horiuchi method |

ggbsegMakeColumns | make the Bennett-Horiuchi quasi life table columns required by the second estimation method |

group01 | group down standard abridged data in child mortality group |

guessage | which age is closest to the point clicked? |

guessDeathsColumn | Figure out which column is the deaths column |

headerPrep | a utility function to prep the header |

HMDlogic | Logical utility functions |

HMDutils | Logical utility functions |

inUSR | does a given pairlist of x and y coordinates fall within the plot region? |

isLeapYear | determine whether a year is a leap year. |

logic | Logical utility functions |

Moz | Example data for Mozambique females 1997-2007 |

reduceOpen | chop down or group down the open age |

seg | estimate death registration coverage using the synthetic extinct generation method |

segCoverageFromAges | given a set of ages, what is the implied death registration coverage? |

segCoverageFromYear | estimate death registration coverage for a single year/sex/region using the Bennett-Horiuchi method |

segMakeColumns | make the Bennett-Horiuchi quasi life table columns required by the estimation method |

segplot | plot the age-pattern of coverage estimates |

single2abr | single ages to standard abridged ages |

slopeint | get the slope the slope and intercept implied by a set of ages |

yint | get interval as fraction of full years |

yint2 | get the time interval without having to specify so many arguments |

ypart | determine the proportion of a year passed as of a particular date |