View source: R/notcore_utils.r
| plot.eava | R Documentation |
Create CSMF plot for EAVA::codEAVA output
## S3 method for class 'eava'
plot(
x,
top = 10,
title = "Top CSMF Distribution",
type = "bar",
return.barplot = FALSE,
...
)
x |
Output from EAVA::codEAVA |
top |
The number of top causes to include in plot. This is exceeded if there are ties. |
title |
Title for CSMF plot |
type |
An indicator of the type of chart to plot. "pie" for pie chart; "bar" for bar chart. |
return.barplot |
a logical indicating if the (barplot) ggplot() object should be returned (instead of printed). Default value is FALSE. |
... |
Not used. |
A barplot if return.barplot is TRUE; otherwise, nothing is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.