plot_kin_fct_ | R Documentation |
Plots the frequency of a binary feature together with the model predictions.
plot_kin_fct_( kinetic_object, point_color = "steelblue", outcome_color = "steelblue", fitted_color = "coral3", fitted_line = "dashed", cust_theme = ggplot2::theme_classic(), plot_title = NULL, plot_subtitle = NULL, plot_tag = NULL, x_lab = kinetic_object$time, y_lab = "% cohort", labels = TRUE, repel_labels = FALSE, signif_digits = 2, label_size = 2.3, fitted = FALSE )
kinetic_object |
a kinetic class object. |
point_color |
color of the points and text labels. |
outcome_color |
color of the median and IQR representations. |
fitted_color |
color of the model fit line. |
fitted_line |
style of the model fit line. |
cust_theme |
a ggplot theme. |
plot_title |
plot title. |
plot_subtitle |
plot subtitle. |
plot_tag |
plot tag. |
x_lab |
x axis title. |
y_lab |
y axis title. |
labels |
logical, display percent labels for the time points? |
repel_labels |
logical, place the labels to reduce their overlap? |
signif_digits |
significant digits for the percent value rounding. |
label_size |
size of the percent labels. |
fitted |
logical, display the model fit? |
a ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.