adjust_for_safety_rule: Adjust Dose-Response Table when Safety Rule Invoked

View source: R/adjust_for_safety_rule.R

adjust_for_safety_ruleR Documentation

Adjust Dose-Response Table when Safety Rule Invoked

Description

Adjust dose availabilities given that the safety rule was invoked, if dose sample size >= 6 (if sample size < 6, choose to stay and explore dose further, so no availabilities are changed). The dose that invoked the safety rule and any higher doses will be made unavailable for future consideration.

Usage

dose_info = adjust_for_safety_rule(120, dose_info) #if dose level 120 invoked safety rule

Arguments

dose

A numeric dose level that violated the safety rule

dose_info

Dataframe containing

[dose level | availability | N_d | X_d | Y_d | Z_d | pf | pe | pt]

Value

Updated dose-response table dataframe with adjusted availabilities


jiyingz/clinicalMPI documentation built on Jan. 19, 2024, 5:58 a.m.