hneth / riskyr

A toolbox for rendering risk literacy more transparent
19 stars 1 forks source link

Allow plotting riskyr objects #19

Closed hneth closed 2 years ago

hneth commented 6 years ago

At the moment, we distinguish between plotting riskyr objects (via the plot.riskyr method) or using low-level plotting functions with parameter inputs (e.g., prev, sens, spec). Why not allow the low level functions accepting riskyr objects as well?

hneth commented 2 years ago

As plot.riskyr() now allows for passing various plot-specific parameters (as of riskyr v0.4.0), this issue seems less prevalent.

Overall, a leaner object structure and more abstract and flexible plotting functions are desirable, of course, but should only be addressed in the context of a future rewrite of the entire package. Hence, will close this issue for now...