View source: R/layer_barchart.R
layer_barchart | R Documentation |
layer of frequency histogram
layer_barchart(
x = 0.05,
y = 0.15,
width = 0.25,
height = 0.4,
yticks = seq(0, 0.3, 0.1),
box.width = 0.8,
digit = 2,
title = TRUE,
xlabels = TRUE,
...
)
lay_hisFreq(
x = 0.05,
y = 0.15,
width = 0.25,
height = 0.4,
yticks = seq(0, 0.3, 0.1),
box.width = 0.8,
digit = 2,
title = TRUE,
xlabels = TRUE,
...
)
panel.histFreq(
z,
subscripts,
at,
col.regions,
x = 0.05,
y = 0.15,
width = 0.25,
height = 0.4,
yticks = NULL,
box.width = 0.8,
digit = 2,
unit = "npc",
title = TRUE,
xlabels = TRUE,
border = "transparent",
yscale = NULL,
ntick = NULL,
w = NULL,
...
)
x , y , z |
Variables defining the plot. |
yticks |
yaxis ticks position, in the range of |
box.width |
Thickness of bars in absolute units; overrides
|
digit |
the digit in the labels |
... |
other parameters to |
subscripts |
Integer vector indicating what subset of |
at |
Numeric vector giving breakpoints along the range of
|
col.regions |
A vector of colors, or a function to produce a vecor of colors, to
be used if |
border |
Border color for rectangles used when |
yscale |
frequency range, |
ntick |
Integer, number of ticks |
w |
weights for percentage, with the same length as |
## Not run:
panel.barchartFreq(z, subscripts, bbox = c(0.05, 0.5, 0, 0.5), unit = "npc")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.