absolute.risk {BCRA} | R Documentation |
Estimate absolute risks
Description
A function to estimate absolute risks of developing breast cancer
Usage
absolute.risk(data, Raw_Ind=1, Avg_White=0)
Arguments
data |
A data set containing all the required input data needed to perform risk projections,
such as initial age, projection age, BrCa relative risk covariates and race. See |
Raw_Ind |
The raw file indicator with default value 1.
|
Avg_White |
Calculation indicator.
|
Details
For the projection of absolute risks, this function is defined based on Gail Model.
Parameters and constants needed in this function include initial and projection age,
recoded covariates from function recode.check
, relative risks of BrCa at age
"<50" and ">=50" from function relative.risk
as well as other known constants
like BrCa composite incidences, competing hazards, 1-attributable risk using in NCI
BrCa Risk Assessment Tool (NCI BCRAT).
Value
A vector which returns absolute risk values when Avg_White=0 or average absolute risk values when Avg_White=1.
See Also
Examples
data(exampledata)
# calculate absolute risk
absolute.risk(exampledata)
# calculate average absolute risk
Avg_White <- 1
absolute.risk(exampledata, Raw_Ind=1, Avg_White)