View source: R/cas_show_barchart.R
cas_show_barchart_ggplot2 | R Documentation |
Creates barchart with ggplot2
cas_show_barchart_ggplot2(ggobj, position = "stack")
ggobj |
A ggplot2 object, typically generated with |
position |
Defaults to "dodge". Available values include "stack". |
A ggplot2 object.
cas_count(
corpus = castarter::cas_demo_corpus,
pattern = c("putin", "medvedev")
) |>
cas_summarise(period = "year") |>
cas_show_gg_base() |>
cas_show_barchart_ggplot2(position = "stack")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.