report_to_image: Turn classification data into a barplot

View source: R/reporting.R

report_to_imageR Documentation

Turn classification data into a barplot

Description

Turn a summary report into a barplot; either proportional or with total numbers.

Usage

report_to_image(df, title = "all", type = "prop", save = F)

Arguments

df

The dataframe with classification label (OA_label; result of 'classify_oa')

title

the name of the reporting unit

type

type of barplot: "prop" (proportional) or "total" (absolute numbers)

save

show the image (F) or save it (in 'figures/')


bvreede/OAmonitor documentation built on Sept. 9, 2023, 8:33 p.m.