drawBFpizza | R Documentation |
Make a pizza plot
drawBFpizza(
dat,
linewidth = 1,
scaleText = 0.3,
show.legend = FALSE,
labels = NULL
)
dat |
data.frame with |
linewidth |
Scalar, linewidth of the black lines around the pizza. |
scaleText |
Scalar > 0, the size of the text is equal to |
show.legend |
Logical, should a legend be shown? |
labels |
String vector of length 2, text to be shown above and below plot. |
jaspGraphs::drawBFpizza(c(1, 4))
jaspGraphs::drawBFpizza(
dat = data.frame(y = c(1, 4)),
labels = c("data | H0", "data | H1")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.