Learn R Programming

sequoia (version 2.11.1)

CountAgeDif: Tabulate Age Differences

Description

Count no. pairs per age difference from birth years. Quicker than table(outer()).

Usage

CountAgeDif(BirthYear, BYrange = range(BirthYear))

Arguments

BirthYear

numeric vector with birth years.

BYrange

range to limit counts to.