View source: R/class-BabsimCaselog.R
RiskScore | R Documentation |
Calculate a risk score based on age and sex of patient for a set of cases.
RiskScore(cases, par)
cases |
[ |
par |
[ |
The risk score is calculated according to the following formula:
\code{RiskScore} = \code{RiskFactorA} exp(\code{RiskFactorB} \code{age}) (1 + I_{male} (\code{RiskMale} - 1)
Here the RiskFactorA
, RiskFactorB
and RiskMale
are taken from the parameter list par
and the age
and sex
are taken from the cases
.
Vector of risk scores.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.