config_to_metab: Actually run the model as specified by the configuration...

View source: R/config_to_metab.R

config_to_metabR Documentation

Actually run the model as specified by the configuration arguments

Description

Actually run the model as specified by the configuration arguments

Usage

config_to_metab(config, rows, verbose = TRUE, prep_only = FALSE)

Arguments

config

data.frame, or file/filename to read a data.frame from. As an alternative to all preceding arguments, this single config argument may be passed in. The data.frame columns must correspond precisely to the list of preceding arguments.

rows

missing, integer, or vector of integers. The row number[s] of the config data.frame to use for this particular model run.

verbose

logical. Should status messages be given?

prep_only

logical. If TRUE, data will be produced and returned without ever fitting a metabolism model. (return value is a list with 'data', 'data_daily', and/or 'args' elements)

Examples

## Not run: 
config_to_metab(config=stage_metab_config(
  tag="0.0.1", strategy="try stage_metab_config", 
  site="nwis_04087142", start_date="2013-06-14", end_date="2013-06-19", 
  filename=NULL))

## End(Not run)

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