Description Usage Arguments See Also Examples
Some geoms such as geom_smooth or geom_histogram
often set stat parameters (method="lm" or binwidth).
The stat parameters is not stored in geom_*()$geom_params,
cannot be obtained by get_geom_params
thus retrieve here by another procedure
| 1 | get_stat_params(suffix = "smooth")
 | 
| suffix | geom suffix | 
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:  get_stat_params("histogram") 
# returns "binwidth" "bins" "na.rm" "pad"
## Not run:  get_stat_params("smooth") 
# returns "na.rm" "method" "formula" "se"
## Not run:  get_stat_params("violin") 
# returns "trim" "scale" "na.rm"
## Not run: 
for (geom in define_ggbash_constants()$geom_namev)
    message(geom, " ", paste0(get_stat_params(geom), collapse=" "))
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.