Skip to content

Commit

Permalink
change year refs to 1971
Browse files Browse the repository at this point in the history
  • Loading branch information
timriffe committed Jan 13, 2021
1 parent 14c8bd0 commit 925b674
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/OPAG.R
Original file line number Diff line number Diff line change
Expand Up @@ -293,15 +293,15 @@ OPAG_r_min <- function(r,
#' nLx <- downloadnLx(NULL, "Spain","female",1971)
#' Age_nLx <- names2age(nLx)
#'
#' # India Males, 1991
#' # India Males, 1971
#' Pop <- smooth_age_5(pop1m_ind,
#' Age = 0:100,
#' method = "Arriaga")
#' Pop80 <- groupOAG(Pop, names2age(Pop), 80)
#' Age <- names2age(Pop80)
#' AgeInt <- age2int(Age, OAvalue = 1)
#'
#' nLx <- downloadnLx(NULL, "India","male",1991)
#' nLx <- downloadnLx(NULL, "India","male",1971)
#' Age_nLx <- names2age(nLx)
#' AgeInt_nLx <- age2int(Age_nLx,OAvalue = 1)
#'
Expand Down Expand Up @@ -394,14 +394,14 @@ OPAG_fit_stable_standard <- function(Pop_fit,
#' @param OAnew integer. Desired open age group in the output (must being element of `Age_nLx`)
#' @export
#' @examples
#' # India Males, 1991
#' # India Males, 1971
#' Pop <- smooth_age_5(pop1m_ind,
#' Age = 0:100,
#' method = "Arriaga")
#' Age_Pop <- names2age(Pop)
#' AgeInt_Pop <- age2int(Age_Pop, OAvalue = 1)
#'
#' nLx <- downloadnLx(NULL, "India","male",1991)
#' nLx <- downloadnLx(NULL, "India","male",1971)
#' Age_nLx <- names2age(nLx)
#' AgeInt_nLx <- age2int(Age_nLx, OAvalue = 1)
#'
Expand Down

0 comments on commit 925b674

Please sign in to comment.