plot_interactive: Interactive plot of model results

Description Usage Arguments Examples

View source: R/plotting.R

Description

Interactive plot of model results

Usage

1
plot_interactive(data_obs, data_sim)

Arguments

data_obs

Observed data (in format given by package NVEDATA)

data_mod

Model data (in raw output format)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
iwsh <- 3

data_obs <- sample_data[[iwsh]]

indata = list(Time           = data_obs$time_vec,
              Prec           = data_obs$Prec,
              Tair           = data_obs$Tair,
              PET            = rep(0, nrow(data_obs$Prec)),
              SWE            = matrix(0, nrow = 1, ncol = ncol(data_obs$Prec)),
              St             = matrix(0, nrow = 2, ncol = 1),
              StUH1          = matrix(0, 20, ncol = 1),
              StUH2          = matrix(0, 40, ncol = 1),
              Param          = c(74.59, 0.81, 214.98, 1.24, 3.69, 1.02),
              frac_elev_band = data_obs$frac_elev_band)

data_sim <- model_wrapper(indata)

plot_interactive(data_obs, data_sim)

jmgnve/HMOD documentation built on May 19, 2019, 1:53 p.m.