Skip to contents

Creates the complete set of thirteen visualizations in one call, mirroring the nos-tlplot command line: the traffic-light bubble plot is written to output_file and the twelve companion figures are written next to it with suffixed names (_radar, _theme_radar, _heatmap, _item_heatmap, _dot_profile, _table, _donut, _line_ordered, _lollipop, _pie, _stacked_area, _nos_plot).

Usage

plot_all(input_file, output_file, theme = "traffic_light", verbose = FALSE)

Arguments

input_file

A data frame with NOS data, or a path to a CSV or Excel file (.csv, .xls, .xlsx) containing it.

output_file

Path that sets the stem and format of the traffic-light bubble plot. The file extension must be one of "png", "pdf", "svg", or "tiff"; every companion figure shares it.

theme

Colour theme. One of "traffic_light", "gray", "ocean", or "sage".

verbose

If TRUE, relay the messages printed by the Python package to the R console.

Value

Invisibly returns the normalized paths of the files that were created.

Details

Radar charts support at most 5 studies; with more studies they are skipped and a message says so.

See also

nos.tlplotR for the Python requirement and input data details.

Examples

if (FALSE) { # \dontrun{
plot_all(
  input_file = system.file("extdata", "sample_nos.csv",
                           package = "nos.tlplotR"),
  output_file = tempfile(fileext = ".png")
)
} # }