Visualise dose-paths as a graph
Visualise dose-paths as a graph
graph_paths(paths, viridis_palette = "viridis", RColorBrewer_palette = NULL)
paths |
Object of type |
viridis_palette |
optional name of a colour palette in the viridis package. |
RColorBrewer_palette |
optional name of a colour palette in the RColorBrewer package. |
The viridis package supports palettes: viridis, magma, plasma, inferno, and cividis. The RColorBrewer package supports many palettes. Refer to those packages on CRAN for more details.
paths <- get_three_plus_three(num_doses = 5) %>% get_dose_paths(cohort_sizes = c(3, 3, 3)) ## Not run: graph_paths(paths) graph_paths(paths, viridis_palette = 'plasma') graph_paths(paths, RColorBrewer_palette = 'YlOrRd') ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.