change_dose_info: Change Dose-Response Table Row Entries

View source: R/change_dose_info.R

change_dose_infoR Documentation

Change Dose-Response Table Row Entries

Description

Change an entire row in dose-response table with desired information. For the given dose level, change the existing futility, efficacy, and toxicity counts to the specified numbers. Useful for fixing entry mistakes and debugging.

Usage

dose_info = change_dose_info(80, 1, 2, 0) #update dose 80 to 1 futility and 2 efficacy counts

Arguments

dose

A numeric dose level (assumed to be available)

dose_info

Dataframe containing

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

x_d

Number of subjects experiencing futility

y_d

Number of subjects experiencing efficacy

z_d

Number of subjects experiencing toxicity

Value

A dataframe containing updated dose-response table (dose_info)


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