h_plot_simulation_trajectory: Helper Function to Create Trajectory Plot

View source: R/Simulations-methods.R

h_plot_simulation_trajectoryR Documentation

Helper Function to Create Trajectory Plot

Description

[Stable]

Creates a trajectory plot showing dose level statistics across patients.

Usage

h_plot_simulation_trajectory(sim_doses, max_patients, has_placebo)

Arguments

sim_doses

(list)
list of simulated doses per trial.

max_patients

(integer)
maximum number of patients.

has_placebo

(flag)
whether the design includes placebo.

Value

A ggplot object.


crmPack documentation built on Nov. 29, 2025, 5:07 p.m.