survBubble | R Documentation |
Plots survival results from spicy.
survBubble(
result,
cutoff = 0.05,
colourGradient = c("#4575B4", "white", "#D73027"),
marksToPlot = NULL,
kontextual = FALSE,
contextColours = NULL,
contextLabels = waiver()
)
result |
A spicyResults object that contains survival results. |
cutoff |
Significance threshold for circles in bubble plot. |
colourGradient |
A vector of colours, used to define the low, medium, and high values for the colour scale. |
marksToPlot |
Vector of marks to include in bubble plot. |
kontextual |
A boolean indicating if the 'result' is a Kontextual result from |
contextColours |
Only used if 'kontextual = TRUE'. A named list specifying the colours for each context. By default the Tableau colour palette is used. |
contextLabels |
Only used if 'kontextual = TRUE'. A named list to change the default labels for each context. |
A ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.