Last chance! 50% off unlimited learning
Sale ends in
Calculate a risk score based on age and sex of patient for a set of cases.
RiskScore(cases, par)
[object
] table of cases, one per row.
[list()
] parameters of risk model.
Vector of risk scores.
The risk score is calculated according to the following formula:
RiskFactorA
, RiskFactorB
and RiskMale
are taken from the parameter list par
and the age
and sex
are taken from the cases
.