Skip to contents

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)
#> [1] 1