
Plot damage function
plot.damage_function.Rdplot.damage_function() overlays the reference damage curve with the simulated
damage.
Usage
# S3 method for class 'damage_function'
plot(x, model, path = NULL, file_name = NULL, ...)Arguments
- x
a
damage_functionobject returned byanalyse_hydraulic()with theexperiment_planstage- model
an object of class model
- path
character, path for saving the result. Default to NULL, nothing is saved, graph is displayed
- file_name
character, optional output file name. The extension can be
pdf,png,svg, orwebp.- ...
additional arguments accepted for compatibility with the generic
plot()method. They are currently unused.