powered by
This function expects a data.frame/tibble and will return a faceted histogram.
hai_histogram_facet_plot( .data, .bins = 10, .scale_data = FALSE, .ncol = 5, .fct_reorder = FALSE, .fct_rev = FALSE, .fill = "steelblue", .color = "white", .scale = "free", .interactive = FALSE )
A ggplot or plotly plot
The data you want to pass to the function.
The number of bins for the histograms.
This is a boolean set to FALSE. TRUE will use hai_scale_zero_one_vec() to [0, 1] scale the data.
hai_scale_zero_one_vec()
[0, 1]
The number of columns for the facet_warp argument.
Should the factor column be reordered? TRUE/FALSE, default of FALSE
Should the factor column be reversed? TRUE/FALSE, default of FALSE
Default is steelblue
steelblue
Default is 'white'
Default is 'free'
Default is FALSE, TRUE will produce a plotly plot.
plotly
Steven P. Sanderson II, MPH
Takes in a data.frame/tibble and returns a faceted historgram.
hai_histogram_facet_plot(.data = iris) hai_histogram_facet_plot(.data = iris, .scale_data = TRUE)
Run the code above in your browser using DataLab