sp | R Documentation |
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.
sp(donor.age, candidate.age)
donor.age |
A numeric value with donor's age |
candidate.age |
A numeric value with candidate's age |
The value 1 for a candidates older than 65 with also a donor older than 65
sp(donor.age = 66, candidate.age = 70)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.