plcom2012: PLCOm2012 risk prediction model for lung cancer

Description Usage Arguments Value Examples

View source: R/plcom2012.R

Description

PLCOm2012 risk prediction model for lung cancer

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
plcom2012(
  age,
  race,
  education,
  bmi,
  copd,
  cancer_hist,
  family_hist_lung_cancer,
  smoking_status,
  smoking_intensity,
  duration_smoking,
  smoking_quit_time
)

Arguments

age

a vector of patient's age

race

categorical variable of patient's race or ethnic group (White, Black, Hispanic, Asian, American Indian, Alaskan Native, Native Hawaiian, Pacific Islander)

education

education was measured in six ordinal levels: less than high-school graduate (level 1), high-school graduate (level 2), some training after high school (level 3), some college (level 4), college graduate (level 5), and postgraduate or professional degree (level 6)

bmi

a vector of patient's body mass index, per 1 unit of increase

copd

binary variable of chronic obstructive pulmonary disease (yes as 1 or no as 0)

cancer_hist

binary variable of patient's cancer history (yes as 1 or no as 0)

family_hist_lung_cancer

binary variable of patient's family history of lung cancer (yes as 1 or no as 0)

smoking_status

binary variable of patient's smoking status (current as 1 or former as 0)

smoking_intensity

a vector of the number cigarettes patient smokes per day

duration_smoking

a vector of patient's duration of smoking, per 1-yr increase

smoking_quit_time

a vector of patient's smoking quit time, per 1-yr increase

Value

prob patient's 6-year probability of lung-cancer

Examples

1
2
3
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)

resplab/PLCOm2012 documentation built on Dec. 22, 2021, 3:01 p.m.