gen_step_plot: gen_step_plot : plot simulation vs observation

View source: R/gen_step_plot.R

gen_step_plotR Documentation

gen_step_plot : plot simulation vs observation

Description

gen_step_plot plot time series and scatter plots of simulation versus observation for selected model variables. in plot_type choose the type of plot you want. "ts" for time series and "sc" for scatter plot

Usage

gen_step_plot(
  variable_names,
  df_simu,
  df_obs,
  start_date = NULL,
  end_date = NULL,
  plot_type = "ts"
)

Arguments

variable_names

the name of your model variables you want to plot

df_simu

the name of the dataframe of your model output

df_obs

the name of the dataframe of your observations

start_date

select a start date if you don't want to plot the whole data and just want to zoom out

end_date

select an end date if you don't want to plot the whole data and just want to zoom out

plot_type

the type of plot you want. "ts" for time series and "sc" for scatter plot

Value

time series or scatter plot (with R^2 and RMSE)

Examples

## Not run: 
gen_step_plot (variable_names, df_simu, df_obs, start_date=NULL, end_date=NULL,plot_type="ts")

## End(Not run)




MadoShi64/rstep documentation built on July 1, 2024, 4:55 p.m.