| lifeTable | R Documentation | 
qx = age-specific probability of dying
lifeTable(qx = NULL, mx = NULL, agecohort = 0)
qx | 
 Numeric vector (required): Age-specific probabilities of dying  | 
agecohort | 
 Number (optional): Age at which cohort is started  | 
Data.table with lifetable
qx <- unlist(data.mortall[iso3=="AFG", as.character(0:100), with=FALSE], use.names=FALSE)
lifeTable(qx, 9)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.