diff --git a/public/index.html b/public/index.html
index 048b9c2..1936401 100644
--- a/public/index.html
+++ b/public/index.html
@@ -85,20 +85,87 @@
tobalcepi
-
DRAFT WORKING VERSION - The package is usable but there are still bugs and further developments that are being worked through i.e. some code and documentation is still incomplete or in need of being refined. The code and documentation are still undergoing internal review by the analyst team.
+DRAFT WORKING VERSION - Some code and documentation is still incomplete or in need of being refined. The code and documentation are still undergoing internal review by the analyst team.
The motivation for tobalcepi
was to organise how we store, process and use the information on the risks of disease that stem from tobacco and/or alcohol consumption, including to provide functions to easily use these risk estimates in modelling.
tobalcepi
was created as part of a programme of work on the health economics of tobacco and alcohol at the School of Health and Related Research (ScHARR), The University of Sheffield. This programme is based around the development of the Sheffield Tobacco and Alcohol Policy Modelling (STAPM), which aims to use comparable methodologies to evaluate the impacts of tobacco and alcohol policies, and investigate the consequences of clustering and interactions between tobacco and alcohol consumption behaviours.
The motivation for tobalcepi
was to organise the information on the relative risks of diseases in adults related to their own tobacco and alcohol consumption and to provide functions to easily work with these data in modelling. The suite of functions within tobalcepi
processes the published data on disease risks that stem from chronic and acute alcohol consumption, from smoking, and on the decline in risk after ceasing or reducing consumption. The package also includes functions to estimate population attributable fractions, and to explore the interaction between the disease risks that stem from tobacco and alcohol consumption.
-+The disease lists and risk functions in this package all have published sources, which we have referenced. In order to obtain mathematical descriptions of the risk functions for use in modelling, we needed to contact some authors to ask for additional information.
-
The disease lists and risk functions in this package all have published sources, which we have referenced. We store the master files for our tobacco and alcohol disease lists and risk functions sources in the University of Sheffield folder X:/ScHARR/PR_Disease_Risk_TA/Disease_Lists
. In order to obtain mathematical descriptions of the risk functions for use in modelling, we needed to contact some authors to ask for additional information.
The high-level function for alcohol is tobalcepi::RRalc()
, which calculates individual risks of diseases as follows:
tobalcepi::RRalc()
. Updates to these risk functions must therefore be made by changing the function code.tobalcepi::PArisk()
, which is called by tobalcepi::RRalc()
. See vignette("alc_pa_risk")
.tobalcepi::WArisk_acute()
, which is called by tobalcepi::RRalc()
. See vignette("alc_wa_ac_risk")
.tobalcepi::RRalc()
. See vignette("alc_wa_ch_risk")
.RRtob()
takes a lookup table of the risks associated with current vs. never smoking and assigns these to individuals based on their smoking state, age and sex (Webster et al. 2018).RRTobDR()
to stratify the risks of some cancers according to the amount smoked per day by current smokers. There is limited info on these dose-reponse effects, so we are gradually building up the epidemiological detail in this area as we review, critically appraise and integrate new risk data into our modelling.Lag times are the information on the delay between a change to tobacco or alcohol consumption and the decline in the risk of disease associated with that consumption. The relevant functions are tobalcepi::TobLags()
(which uses lags stored in tobalcepi::tobacco_lag_times
) and tobalcepi::AlcLags()
(which contains lags hard-coded into the function).
We use estimates of potential tobacco - alcohol risk interactions for:
+These estimates are stored in tobalcepi::tob_alc_risk_int
.
Some useful, not risk-bearing, data is stored within the package and is installed onto your computer when you download and load the package. We use package data for data that is likely to be used across several projects, that it is important to keep standardised across projects, and is only likely to need updating after a long interval e.g. at least annually.
+The types of data included in tobalcepi are:
+When these data need to be updated, the inputs and code in the package folder data-raw
will need to be changed, and the package rebuild with a new version.
tobalcepi
is a package for predicting individual risk of disease due to tobacco and alcohol consumption based on published sources, and summarising that risk.
tobalcepi
is a package for predicting individual risk of disease due to tobacco and alcohol consumption based on published sources, and summarising that risk. The suite of functions within tobalcepi
processes the published data on the relative risks of disease that stem from chronic and acute alcohol consumption, from smoking, and on the decline in risk after ceasing or reducing consumption. The package also includes functions to estimate population attributable fractions, and to explore the interaction between the disease risks that stem from tobacco and alcohol consumption.
The inputs are the published estimates of relative risk for each disease (sometimes stratified by population subgroup).
The processes applied by the functions in tobalcepi
give options to estimate:
Please cite the latest version of the package using:
-“Duncan Gillespie, Laura Webster, Maddy Henney, Colin Angus and Alan Brennan (2020). tobalcepi: Risk Functions and Attributable Fractions for Tobacco and Alcohol. R package version x.x.x. https://stapm.gitlab.io/tobalcepi”
Angus, Colin, M Henney, L Webster, and Duncan Gillespie. 2018. “Alcohol-Attributable Diseases and Dose-Response Curves for the Sheffield Alcohol Policy Model Version 4.0.” https://doi.org/10.15131/shef.data.6819689.v1.
+Webster, Laura, Colin Angus, Alan Brennan, and Duncan Gillespie. 2018. “Smoking and the Risks of Adult Diseases.” The University of Sheffield. https://doi.org/10.15131/shef.data.7411451.v1.
+