View source: R/tm_variable_browser.R
plot_var_summary | R Documentation |
Creates summary plot with statistics relevant to data type.
plot_var_summary(
var,
var_lab,
wrap_character = NULL,
numeric_as_factor,
display_density = is.numeric(var),
remove_NA_hist = FALSE,
outlier_definition,
records_for_factor,
ggplot2_args
)
var |
vector of any type to be plotted. For numeric variables it produces histogram with density line, for factors it creates frequency plot |
var_lab |
text describing selected variable to be displayed on the plot |
wrap_character |
( |
numeric_as_factor |
( |
display_density |
( |
remove_NA_hist |
( |
outlier_definition |
if 0 no outliers are removed, otherwise outliers (those more than outlier_definition*IQR below/above Q1/Q3 be removed) |
records_for_factor |
( |
ggplot2_args |
( For more details see the vignette: |
plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.