Skip to content

Commit

Permalink
Corrected url with spaces in life expectancy documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
PHEgeorginaanderson committed Apr 18, 2019
1 parent 1ce6f42 commit 7b30e52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion R/LifeExpectancy.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#' added details on the calculation within the dataframe); quoted
#' string; default full
#' @details This function aligns with the methodology in Public Health England's
#' \href{https://fingertips.phe.org.uk/documents/PHE Life Expectancy Calculator.xlsm}{Life Expectancy Excel Tool}.
#' \href{https://fingertips.phe.org.uk/documents/PHE\%20Life\%20Expectancy\%20Calculator.xlsm}{Life Expectancy Excel Tool}.
#'
#' The function is for an abridged life table using 5 year age intervals with
#' a final age interval of 90+. The table has been completed using the methods
Expand Down Expand Up @@ -124,6 +124,7 @@
#' @export
#'
#' @family PHEindicatormethods package functions

phe_life_expectancy <- function(data, deaths, population, startage,
age_contents = c(0L, 1L, 5L, 10L, 15L,
20L, 25L, 30L, 35L, 40L,
Expand Down
2 changes: 1 addition & 1 deletion man/phe_life_expectancy.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7b30e52

Please sign in to comment.