Plot densities of EffTox dose utilities
Plot densities of EffTox dose utilities. Optionally plot only a
subset of the doses by specifying the doses
parameter. This function
requires ggplot2 be installed.
efftox_utility_density_plot(fit, doses = NULL)
fit |
An instance of |
doses |
optional, vector of integer dose-levels to plot. E.g. to plot
only dose-levels 1, 2 & 3 (and suppress the plotting of any other doses), use
|
an instance of ggplot
. Omit assignment to just view the plot.
This function requires that ggplot2 be installed.
fit <- stan_efftox_demo('1N 2E 3B') efftox_utility_density_plot(fit) + ggplot2::ggtitle('My doses') # Too busy? # Specify subset of doses to make plot less cluttered efftox_utility_density_plot(fit, doses = 1:3) + ggplot2::ggtitle('My doses')
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.