point_plot_ | R Documentation |
Draws a simple scatter 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,
point_wjitter = 0.01,
point_hjitter = 0.01,
point_alpha = 0.75,
smooth = TRUE,
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. |
point_wjitter |
horizontal jittering of the points. |
point_hjitter |
vertical jittering of the points. |
point_alpha |
plot point alpha. |
smooth |
logical, should a trend line be displayed. |
silent |
logical, display warnings? |
cust_theme |
a custom ggplot theme. |
... |
extra arguments passed to geom_smooth(). |
As per design, takes the output of get_qc_tbl() as data argument, color-codes model potential outliers.
a ggplot graphic
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.