Australia_state_selectionpool

australia_state_selection(
  recip_matrix,
  donor_matrix,
  whichdonor,
  bloodGroup_strict_match = TRUE
)

Arguments

recip_matrix

a data.frame with recipient features, this is the input recipient matrix

donor_matrix

a data.frame with recipient features, this is the input donor matrix

whichdonor

a categorical donor id, this is the incoming kidney from one donor

bloodGroup_strict_match

a boolean value, TRUE/FALSE, this is to define whether we want the strict match for bloodgroup or not

Value

a data.frame representing recipient pool under the state allocation tule

Examples

data("rawdata", package = "simKAP") state_pool <- australia_state_selection(rawdata,rawdata,"D948826", bloodGroup_strict_match = TRUE);