This function transforms your observed and modeled data to by in tidy format.
This makes it easier to use with other r packages such as ggplot2
.
Usage
melt_swap_data(project_path, variable = NULL, depth = NULL, verbose = F)
Arguments
- project_path
path to project directory string
- variable
variables to include in the melt string
- depth
depths to include in the melt numeric
- verbose
print status? flag
Value
Melted dataframe of matched modeled and observed values
Details
This function will adjust to any variables and depths you give it. If you do
not provide any variables, or any depths, all available ones will be used.