point_plot_ | R Documentation |
Draws a simple point plot for model diagnostic purposes.
point_plot_(
data,
x_var,
y_var,
x_lab = x_var,
y_lab = y_var,
plot_title = NULL,
plot_subtitle = NULL,
plot_tag = NULL,
smooth = TRUE,
point_wjitter = 0,
point_hjitter = 0,
silent = TRUE,
cust_theme = ggplot2::theme_classic(),
...
)
data |
data frame. |
x_var |
name of the variable to be shown in the x axis. |
y_var |
name of the variable to be shown in the y axis. |
x_lab |
x axis title. |
y_lab |
y axis title. |
plot_title |
plot title. |
plot_subtitle |
plot subtitle. |
plot_tag |
plot tag. |
smooth |
logical, should a trend line be displayed. |
point_wjitter |
width of the point jittering, defaults to 0. |
point_hjitter |
height of the point jittering, defaults to 0. |
silent |
logical, display warnings? |
cust_theme |
custom ggplot2 theme. |
... |
extra arguments passed to geom_smooth(). |
a ggplot graphic
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.