linear_follow_up_weight(
now_time = 10,
recruited_time = 4:7,
tox = c(0, 0, 0, 1),
max_time = 6,
tox_has_weight_1 = TRUE
)
linear_follow_up_weight(
now_time = 10,
recruited_time = 4:7,
tox = c(0, 0, 0, 1),
max_time = 6,
tox_has_weight_1 = FALSE
)
Run the code above in your browser using DataLab