configure_report {DataExplorer}R Documentation

Configure report template

Description

This function configures the content of the to-be-generated data profiling report.

Usage

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()
)

Arguments

add_introduce

add introduce? Default is TRUE.

add_plot_intro

add plot_intro? Default is TRUE.

add_plot_str

add plot_str? Default is TRUE.

add_plot_missing

add plot_missing? Default is TRUE.

add_plot_histogram

add plot_histogram? Default is TRUE.

add_plot_density

add plot_density? Default is FALSE.

add_plot_qq

add plot_qq? Default is TRUE.

add_plot_bar

add plot_bar? Default is TRUE.

add_plot_correlation

add plot_correlation? Default is TRUE.

add_plot_prcomp

add plot_prcomp? Default is TRUE.

add_plot_boxplot

add plot_boxplot? Default is TRUE.

add_plot_scatterplot

add plot_scatterplot? Default is TRUE.

introduce_args

arguments to be passed to introduce. Default is list().

plot_intro_args

arguments to be passed to plot_intro. Default is list().

plot_str_args

arguments to be passed to plot_str. Default is list(type = "diagonal", fontSize = 35, width = 1000, margin = list(left = 350, right = 250)).

plot_missing_args

arguments to be passed to plot_missing. Default is list().

plot_histogram_args

arguments to be passed to plot_histogram. Default is list().

plot_density_args

arguments to be passed to plot_density. Default is list().

plot_qq_args

arguments to be passed to plot_qq. Default is list(sampled_rows = 1000L).

plot_bar_args

arguments to be passed to plot_bar. Default is list().

plot_correlation_args

arguments to be passed to plot_correlation. Default is list("cor_args" = list("use" = "pairwise.complete.obs")).

plot_prcomp_args

arguments to be passed to plot_prcomp. Default is list().

plot_boxplot_args

arguments to be passed to plot_boxplot. Default is list().

plot_scatterplot_args

arguments to be passed to plot_scatterplot. Default is list(sampled_rows = 1000L).

global_ggtheme

global setting for theme. Default is quote(theme_gray()).

global_theme_config

global setting for theme. Default is list().

Note

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()).

See Also

create_report

Examples

## Get default configuration
configure_report()

## Set global theme
configure_report(global_ggtheme = quote(theme_light(base_size = 20L)))

[Package DataExplorer version 0.8.3 Index]