plot.prcalc_index | R Documentation |
prcalc_index
object.Visualization of a prcalc_index
object.
## S3 method for class 'prcalc_index'
plot(
x,
index = NULL,
style = "bar",
bar_width = 0.75,
point_size = 5,
font_size = 12,
...
)
x |
a |
index |
a character vector. A subset of indices. If |
style |
Plot style. Lollipop ( |
bar_width |
Default is |
point_size |
Default is |
font_size |
a font size. Default is |
... |
Ignored |
A ggplot
object.
data(jp_upper_2019)
pr_obj <- prcalc(jp_upper_2019, m = 50, method = "dt")
plot(index(pr_obj))
plot(index(pr_obj), style = "lollipop",
index = c("lh", "gallagher", "rae", "dhondt", "ad"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.