get_metab_model: Load one or more metab_model objects into R

get_metab_modelR Documentation

Load one or more metab_model objects into R

Description

Uses a previously-downloaded copy of this metab_model unless (1) that download occurred in a different R session, or (2) on_local_exists-'replace'.

Usage

get_metab_model(model_name, on_local_exists = "skip", version =
  c("modern", "original"), update_sb = TRUE)

Arguments

model_name

the name of the metab_model file

on_local_exists

character indicating what to do if the folder already contains a file with the intended download name

version

character. which version of the model should be returned - ('original') the original, or ('modern') one that's been updated to work with the current streamMetabolizer version? 'modern', the default, is recommended.

update_sb

logical. May we take some time to update ScienceBase if the most modern version isn't up there yet?


USGS-R/powstreams documentation built on June 3, 2023, 8:58 a.m.