# set global chunk options
knitr::opts_chunk$set(fig.width=7, fig.height=5, echo=FALSE, message=FALSE, warning=FALSE, results="hide")
library(mda.streams)
library(dplyr)

This package facilitates multiple runs of a metabolism model, each time modeling one or many sites, to compare modeling methods.

sites <- c("nwis_01649190", "nwis_06478522")
config_df <- stage_metab_config(
  tag='0.0.1', strategy='model_by_config vignette', date=Sys.time(), 
  model="metab_mle", model_args="list(specs=specs('mle'))", site=sites, 
  start_date="2015-03-15", end_date="2015-04-15", filename=NULL)
config_df
config_to_metab(config=config_df[2,])


USGS-R/mda.streams documentation built on June 3, 2023, 8:43 a.m.