View source: R/plotting_methods.R
plot.eda | R Documentation |
Plots distribution of the given EDA object.
## S3 method for class 'eda'
plot(
x,
type = c("default", "bar", "violin", "box", "hist", "qq"),
point_color = "steelblue",
point_alpha = 0.5,
point_hjitter = 0.05,
point_wjitter = 0.1,
fill_color = "steelblue",
line_color = "orangered3",
txt_size = 2.75,
signif_digits = 2,
cust_theme = ggplot2::theme_classic(),
plot_title = NULL,
plot_subtitle = NULL,
...
)
x |
eda object, created by |
type |
plot type. 'default' is bar for factors and violin for numerics. 'bar' is available for factor-type EDAs. 'violin', 'box', 'hist' and 'qq' are available for numeric-type objects. |
point_color |
color of the plot points. |
point_alpha |
alpha of the plot points. |
point_hjitter |
point jitter height. |
point_wjitter |
point jitter width. |
fill_color |
color of the bars and violins. |
line_color |
color of the qqline in the qq plot. |
txt_size |
size of the plot label text. |
signif_digits |
significant digits used for rounding of the statistic summary. |
cust_theme |
custom ggplot2 theme. |
plot_title |
text to be presented in the plot title. |
plot_subtitle |
text to be presented in the plot subtitle. |
... |
extra arguments passed to |
the summary of EDA is presented in the plot tag. The type conversion is done prior to plotting.
a ggplot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.