Skip to content

Commit

Permalink
update dev status formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dosgillespie committed Nov 28, 2020
1 parent db9e878 commit 195e92e
Show file tree
Hide file tree
Showing 42 changed files with 184 additions and 233 deletions.
4 changes: 1 addition & 3 deletions R/AlcBinge.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@

#' Calculate variables to inform alcohol binge model
#'
#' \lifecycle{superseded}
#' Calculate variables to inform alcohol binge model \lifecycle{superseded}
#'
#' Designed to work with cross-sectional survey data with a wide range of individual-level covariates.
#' Uses survey data and previously estimated coefficients to describe
Expand Down
4 changes: 1 addition & 3 deletions R/AlcBinge_stapm.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@

#' Calculate variables to inform alcohol binge model - STAPM version
#'
#' \lifecycle{maturing}
#' Calculate variables to inform alcohol binge model - STAPM version \lifecycle{maturing}
#'
#' Designed to work with simulated individual trajectories of alcohol consumption - stratified by
#' age category, sex and IMD quintile. Assigns coefficients stratified by age category, sex and IMD quintile to
Expand Down
4 changes: 1 addition & 3 deletions R/AlcLags.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@

#' Alcohol lag times
#'
#' \lifecycle{stable}
#' Alcohol lag times \lifecycle{stable}
#'
#' Prepare the disease specific functions that describe how a change in alcohol consumption
#' gradually has an effect on the relative risk of disease incidence over time (up to 20 years)
Expand Down
4 changes: 1 addition & 3 deletions R/ExpandCodes.R
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@


#' Convert groups of ICD-10 codes to single codes
#'
#' \lifecycle{stable}
#' Convert groups of ICD-10 codes to single codes \lifecycle{stable}
#'
#' Creates the lookup files for search for single ICD-10 codes related to tobacco and/or alcohol.
#'
Expand Down
4 changes: 1 addition & 3 deletions R/PArisk.R
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@


#' Relative risks for alcohol-related injuries
#'
#' \lifecycle{stable}
#' Relative risks for alcohol-related injuries \lifecycle{stable}
#'
#' Uses the 'new' binge model methods to calculate a relative risk
#' for each individual for experiencing each cause during one year.
Expand Down
4 changes: 1 addition & 3 deletions R/RRAlc.R
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@


#' Relative risks for alcohol related diseases
#'
#' \lifecycle{stable}
#' Relative risks for alcohol related diseases \lifecycle{stable}
#'
#' Computes the relative risks for each alcohol related disease based on the published risk curves.
#'
Expand Down
4 changes: 1 addition & 3 deletions R/RRFunc.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@

#' Individual relative risks of disease
#'
#' \lifecycle{maturing}
#' Individual relative risks of disease \lifecycle{maturing}
#'
#' @description
#' This function takes a sample of individuals and computes each individual's relative risk
Expand Down
4 changes: 1 addition & 3 deletions R/RRTobDR.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#' Dose-response relative risks for tobacco-related cancers
#'
#' \lifecycle{experimental}
#' Dose-response relative risks for tobacco-related cancers \lifecycle{experimental}
#'
#' Computes the relative risks for each tobacco-related cancer based on the published risk curves.
#'
Expand Down
4 changes: 1 addition & 3 deletions R/RRtob.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@

#' Tobacco relative risks
#'
#' \lifecycle{maturing}
#' Tobacco relative risks \lifecycle{maturing}
#'
#' Relative risks for current vs. never cigarette smokers.
#'
Expand Down
4 changes: 1 addition & 3 deletions R/TobAlcInt.R
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@


#' Risk interaction between tobacco and alcohol
#'
#' \lifecycle{maturing}
#' Risk interaction between tobacco and alcohol \lifecycle{maturing}
#'
#' Assigns the disease-specific interaction term (synergy index) appropriate to each
#' individual's tobacco and alcohol consumption.
Expand Down
4 changes: 1 addition & 3 deletions R/TobLags.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@

#' Tobacco lag times
#'
#' \lifecycle{stable}
#' Tobacco lag times \lifecycle{stable}
#'
#' Prepare the disease specific functions that describe how a change in tobacco consumption
#' gradually has an effect on the relative risk of disease incidence over time (up to 40 years)
Expand Down
4 changes: 1 addition & 3 deletions R/WArisk_acute.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@

#' Risk of acute conditions wholly-attributable to alcohol
#'
#' \lifecycle{stable}
#' Risk of acute conditions wholly-attributable to alcohol \lifecycle{stable}
#'
#' Uses the 'new' binge model methods to calculate the risk
#' that each individual experiences each acute consequence of drinking during one year
Expand Down
4 changes: 1 addition & 3 deletions R/subgroupRisk.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@

#' Summarise relative risk
#'
#' \lifecycle{stable}
#' Summarise relative risk \lifecycle{stable}
#'
#' Calculate the sum of the relative risk for all individuals in a subgroup,
#' or calculate the subgroup specific attributable fraction based on the current relative risks.
Expand Down
8 changes: 5 additions & 3 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ reference:
- title: Tobacco relative risks
- subtitle: Disease definitions and relative risks
contents:
- RRtob
- RRTobDR
- tob_disease_names
- tob_icd10_lookups
- tobacco_relative_risks
- RRtob
- RRTobDR

- subtitle: Tobacco lag times
contents:
- TobLags
Expand All @@ -41,9 +42,10 @@ reference:
- title: Alcohol relative risks
- subtitle: Disease definitions and relative risks
contents:
- RRalc
- alc_disease_names
- alc_icd10_lookups
- RRalc

- subtitle: Disease risk linked to intoxication
contents:
- AlcBinge
Expand Down
8 changes: 3 additions & 5 deletions man/AlcBinge.Rd

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

10 changes: 4 additions & 6 deletions man/AlcBinge_stapm.Rd

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

8 changes: 3 additions & 5 deletions man/AlcLags.Rd

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

6 changes: 2 additions & 4 deletions man/ExpandCodes.Rd

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

8 changes: 3 additions & 5 deletions man/PArisk.Rd

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

4 changes: 1 addition & 3 deletions man/RRFunc.Rd

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

6 changes: 2 additions & 4 deletions man/RRTobDR.Rd

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

6 changes: 2 additions & 4 deletions man/RRalc.Rd

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

6 changes: 2 additions & 4 deletions man/RRtob.Rd

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

8 changes: 3 additions & 5 deletions man/TobAlcInt.Rd

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

Loading

0 comments on commit 195e92e

Please sign in to comment.