This function generates an interactive dygraph to visualize the results of an OAT analysis, comparing simulated data with observed data if provided.
Arguments
- sim
Object containing simulation data from SWATrunR.
- obs
Optional dataframe for observed data with columns 'date' and 'value'. Default is NULL.
- variable
Name of the variable for which OAT analysis results are plotted.
- round_values
Number of decimal places to round parameter values. Default is 3.