View source: R/configure_report.r
configure_report | R Documentation |
This function configures the content of the to-be-generated data profiling report.
configure_report(
add_introduce = TRUE,
add_plot_intro = TRUE,
add_plot_str = TRUE,
add_plot_missing = TRUE,
add_plot_histogram = TRUE,
add_plot_density = FALSE,
add_plot_qq = TRUE,
add_plot_bar = TRUE,
add_plot_correlation = TRUE,
add_plot_prcomp = TRUE,
add_plot_boxplot = TRUE,
add_plot_scatterplot = TRUE,
introduce_args = list(),
plot_intro_args = list(),
plot_str_args = list(type = "diagonal", fontSize = 35, width = 1000, margin = list(left
= 350, right = 250)),
plot_missing_args = list(),
plot_histogram_args = list(),
plot_density_args = list(),
plot_qq_args = list(sampled_rows = 1000L),
plot_bar_args = list(),
plot_correlation_args = list(cor_args = list(use = "pairwise.complete.obs")),
plot_prcomp_args = list(),
plot_boxplot_args = list(),
plot_scatterplot_args = list(sampled_rows = 1000L),
global_ggtheme = quote(theme_gray()),
global_theme_config = list()
)
add_introduce |
add introduce? Default is |
add_plot_intro |
add plot_intro? Default is |
add_plot_str |
add plot_str? Default is |
add_plot_missing |
add plot_missing? Default is |
add_plot_histogram |
add plot_histogram? Default is |
add_plot_density |
add plot_density? Default is |
add_plot_qq |
add plot_qq? Default is |
add_plot_bar |
add plot_bar? Default is |
add_plot_correlation |
add plot_correlation? Default is |
add_plot_prcomp |
add plot_prcomp? Default is |
add_plot_boxplot |
add plot_boxplot? Default is |
add_plot_scatterplot |
add plot_scatterplot? Default is |
introduce_args |
arguments to be passed to introduce. Default is |
plot_intro_args |
arguments to be passed to plot_intro. Default is |
plot_str_args |
arguments to be passed to plot_str. Default is |
plot_missing_args |
arguments to be passed to plot_missing. Default is |
plot_histogram_args |
arguments to be passed to plot_histogram. Default is |
plot_density_args |
arguments to be passed to plot_density. Default is |
plot_qq_args |
arguments to be passed to plot_qq. Default is |
plot_bar_args |
arguments to be passed to plot_bar. Default is |
plot_correlation_args |
arguments to be passed to plot_correlation. Default is |
plot_prcomp_args |
arguments to be passed to plot_prcomp. Default is |
plot_boxplot_args |
arguments to be passed to plot_boxplot. Default is |
plot_scatterplot_args |
arguments to be passed to plot_scatterplot. Default is |
global_ggtheme |
global setting for theme. Default is |
global_theme_config |
global setting for theme. Default is |
Individual settings will overwrite global settings. For example: if plot_intro_args
has ggtheme
set to theme_light()
while global_ggtheme
is set to theme_gray()
, theme_light()
will be used.
When setting global themes using global_ggtheme
, please pass an unevaluated call to the theme function, e.g., quote(theme_light())
.
create_report
## Get default configuration
configure_report()
## Set global theme
configure_report(global_ggtheme = quote(theme_light(base_size = 20L)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.