dynamic_waitlist.Rdthis is the dynamic wl function
dynamic_waitlist( donor_matrix, yearly_scale_in = NULL, yearly_scale_out = NULL, rate_in = 0.7, rate_out = 0.4, IN = FALSE, OUT = FALSE, waitlist_Risk = TRUE )
| donor_matrix | a data.frame, this is the input donor matrix |
|---|---|
| yearly_scale_in | a numeirc vector between 0 and 1, this is the input yearly scale rate |
| yearly_scale_out | a numeirc vector between 0 and 1, this is the input yearly scale rate |
| rate_in | a numeirc value between 0 and 1, this is the rate |
| rate_out | a numeirc value between 0 and 1, this is the rate |
| IN | a boolean value, TRUE/FALSE, whether to use the user defined rate_in or not |
| OUT | a boolean value, TRUE/FALSE, whether to use the user defined rate_out or not |
| waitlist_Risk | a boolean value, TRUE/FALSE, whether to have this or not |
wl data which is a matrix for all recipients on the waiting list
data("rawdata", package = "simKAP") wl <- dynamic_waitlist(rawdata,yearly_scale_in = NULL,yearly_scale_out = NULL,rate_in = 0.7, IN= TRUE, rate_out = 0.4,waitlist_Risk = TRUE);