View source: R/plot.dw_data_tabulate.R
plot.dw_data_tabulates | R Documentation |
Plot tabulated data.
## S3 method for class 'dw_data_tabulates'
plot(
x,
label_values = TRUE,
show_na = c("if_any", "always", "never"),
na_label = "(Missing)",
error_bar = TRUE,
ci = 0.95,
fill_col = "#87CEFA",
color_error_bar = "#607B8B",
...
)
## S3 method for class 'dw_data_tabulate'
plot(
x,
label_values = TRUE,
show_na = c("if_any", "always", "never"),
na_label = "(Missing)",
error_bar = TRUE,
ci = 0.95,
fill_col = "#87CEFA",
color_error_bar = "#607B8B",
...
)
x |
Object created by |
label_values |
Logical. Should values and percentages be displayed at the top of each bar. |
show_na |
Should missing values be dropped? Can be |
na_label |
The label given to missing values when they are shown. |
error_bar |
Logical. Should error bars be displayed?
If |
ci |
Confidence Interval (CI) level. Defaults to |
fill_col |
Color to use for category columns (default: |
color_error_bar |
Color to use for error bars (default: |
... |
Unused |
Brown, L. D., Cai, T. T., & Dasgupta, A. (2001). Interval estimation for a binomial proportion. Statistical Science, 16(2), 101-133. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1214/ss/1009213286")}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.