sp: Senior Program classification

spR Documentation

Senior Program classification

Description

Returns 1 when candidates' belongs to Senior Program. Prioritization for older patients for older donors, followed for young patients for younger donors, and for last the remaining patients.

Usage

sp(donor.age, candidate.age)

Arguments

donor.age

A numeric value with donor's age

candidate.age

A numeric value with candidate's age

Value

The value 1 for a candidates older than 65 with also a donor older than 65

Examples

sp(donor.age = 66, candidate.age = 70)

FilipePintoReis/KARS_project documentation built on July 11, 2022, 9:19 a.m.