The goal of PLCOm2012 is to predict 6-year probability of lung cancer in an individual person.
The development version from GitHub with:
# install.packages("devtools")
devtools::install_github("resplab/PLCOm2012")
This is a basic example which shows the the 6-year probability of lung cancer in an individual person. The example is an individual who is 62 years old, white, had some college (level 4) education, with body-mass index 27, no chronic obstructive pulmonary disease, no personal history of cancer, no family history of lung cancer, former smoker, smokes 80 cigarettes per day, smokes for 27 years and quits smoking for 10 years. He/she would have 1.75% probability of getting lung cancer over the next 6 years.
library(PLCOm2012)
plcom2012(age=62, race='White', education=4, bmi=27, copd=0,
cancer_hist=0, family_hist_lung_cancer=0, smoking_status=0,
smoking_intensity=80, duration_smoking=27, smoking_quit_time=10)
$prob
[1] 0.01750922