View source: R/explore_basics.R
rt_explore_plot_histogram | R Documentation |
returns a histogram of 'variable'
rt_explore_plot_histogram( dataset, variable, comparison_variable = NULL, num_bins = 30, x_zoom_min = NULL, x_zoom_max = NULL, log_scale_x = FALSE, base_size = 11 )
dataset |
dataframe containing numberic columns |
variable |
the variable from which to create a histogram |
comparison_variable |
(optional) the additional variable to group by; must be a string/factor column |
num_bins |
the number of bins that the histogram will use |
x_zoom_min |
adjust (i.e. zoom in) to the x-axis; sets the minimum x-value for the adjustment |
x_zoom_max |
adjust (i.e. zoom in) to the x-axis; sets the maximum x-value for the adjustment |
log_scale_x |
if TRUE, applies scale_x_log10 |
base_size |
uses ggplot's base_size parameter for controling the size of the text |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.