Diff of /man/plcom2012.Rd [000000] .. [fb0f7e]

Switch to unified view

a b/man/plcom2012.Rd
1
% Generated by roxygen2: do not edit by hand
2
% Please edit documentation in R/plcom2012.R
3
\name{plcom2012}
4
\alias{plcom2012}
5
\title{PLCOm2012 risk prediction model for lung cancer}
6
\usage{
7
plcom2012(
8
  age,
9
  race,
10
  education,
11
  bmi,
12
  copd,
13
  cancer_hist,
14
  family_hist_lung_cancer,
15
  smoking_status,
16
  smoking_intensity,
17
  duration_smoking,
18
  smoking_quit_time
19
)
20
}
21
\arguments{
22
\item{age}{a vector of patient's age}
23
24
\item{race}{categorical variable of patient's race or ethnic group (White, Black, Hispanic,
25
Asian, American Indian, Alaskan Native, Native Hawaiian, Pacific Islander)}
26
27
\item{education}{education was measured in six ordinal levels: less than high-school graduate (level 1),
28
high-school graduate (level 2), some training after high school (level 3), some college (level 4),
29
college graduate (level 5), and postgraduate or professional degree (level 6)}
30
31
\item{bmi}{a vector of patient's body mass index, per 1 unit of increase}
32
33
\item{copd}{binary variable of chronic obstructive pulmonary disease (yes as 1 or no as 0)}
34
35
\item{cancer_hist}{binary variable of patient's cancer history (yes as 1 or no as 0)}
36
37
\item{family_hist_lung_cancer}{binary variable of patient's family history of lung cancer (yes as 1 or no as 0)}
38
39
\item{smoking_status}{binary variable of patient's smoking status (current as 1 or former as 0)}
40
41
\item{smoking_intensity}{a vector of the number cigarettes patient smokes per day}
42
43
\item{duration_smoking}{a vector of patient's duration of smoking, per 1-yr increase}
44
45
\item{smoking_quit_time}{a vector of patient's smoking quit time, per 1-yr increase}
46
}
47
\value{
48
prob patient's 6-year probability of lung-cancer
49
}
50
\description{
51
PLCOm2012 risk prediction model for lung cancer
52
}
53
\examples{
54
plcom2012(age=62, race='White', education=4, bmi=27, copd=0, cancer_hist=0,
55
family_hist_lung_cancer=0, smoking_status=0, smoking_intensity=80,
56
duration_smoking=27, smoking_quit_time=10)
57
}