plot.eava: Create CSMF plot for EAVA::codEAVA output

View source: R/notcore_utils.r

plot.eavaR Documentation

Create CSMF plot for EAVA::codEAVA output

Description

Create CSMF plot for EAVA::codEAVA output

Usage

## S3 method for class 'eava'
plot(
  x,
  top = 10,
  title = "Top CSMF Distribution",
  type = "bar",
  return.barplot = FALSE,
  ...
)

Arguments

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.

Value

A barplot if return.barplot is TRUE; otherwise, nothing is returned.


openVA documentation built on Nov. 5, 2025, 5:20 p.m.