Skip to content

voiage.cli.plot_ceac

plot_ceac([positional or keyword] surface_file: Path = typer.Argument(..., exists=True, file_okay=True, dir_okay=False, readable=True, help='Path to JSON surface data with net_benefit and wtp_thresholds'), [positional or keyword] output_file: Path | None = typer.Option(None, '--output', '-o', help='File to save the CEAC plot')) -> None

Plot a Cost-Effectiveness Acceptability Curve.

Plot a CEAC from a JSON surface file:

.. code-block:: bash

voiage plot-ceac surface.json

Parameters:

  • surface_file Path (default: typer.Argument(..., exists=True, file_okay=True, dir_okay=False, readable=True, help='Path to JSON surface data with net_benefit and wtp_thresholds'))
  • output_file Path | None (default: typer.Option(None, '--output', '-o', help='File to save the CEAC plot'))

Returns: None