Skip to contents

All functions

age_group_type()
Infer Age Label Type
age_labels()
Create Age Labels
age_lower() age_mid() age_upper()
Lower Limits, Midpoints, and Upper Limits of Age Groups
check_age()
Validity Checks for Age Labels
check_equal_length()
Check that Arguments have Same Length
check_n()
Check Whole Number
check_no_overlap_colnums()
Check that Colnum Vectors do not Overlap
combine_age()
Aggregate Age Group Labels
ex_to_lifetab_brass()
Derive Life Tables that Match Life Expectancies, using a Brass Logit Model
find_label_female()
Identify Sex or Gender Labels Referring to Females
find_label_male()
Identify Sex or Gender Labels Referring to Males
find_var_age()
Identify an Age Variable
find_var_sexgender()
Identify a Sex or Gender Variable
find_var_time()
Identify a Time Variable
groups_colnums()
Get a named vector of column indices for the grouping variables in a grouped data frame
lifetab() lifeexp()
Calculate Life Tables or Life Expectancies
logit() invlogit()
Logit and Inverse-Logit Functions
matrix_to_list_of_cols() matrix_to_list_of_rows()
Turn a Matrix Into a List of Columns or Rows
nzmort
Mortality Data for New Zealand
nzmort_rvec
Mortality Data and Probabilistic Rates for New Zealand
q0_to_m0()
Convert q0 to m0
reformat_age()
Reformat Age Group Labels
reformat_sex()
Reformat a Binary Sex Variable
rr3()
Randomly Round A Vector of Integers to Base 3
set_age_open()
Specify Open Age Group
to_matrix()
Build a Matrix from Measure and ID Variables
trim_01()
Trim Values So They Are Between 0 and 1
west_lifetab
Coale-Demeny West Model Life Tables