config_to_metab_repeat: Acquire data and fit a model repeatedly

View source: R/config_to_metab_repeat.R

config_to_metab_repeatR Documentation

Acquire data and fit a model repeatedly

Description

This function really only makes sense in the context of models that are fitted from simulated doobs data, which in turn must be specified as preds from a metab_sim model.

Usage

config_to_metab_repeat(config, row, times = 5, verbose = FALSE)

Arguments

config

a config table

row

a single integer specifying the row of config to use

times

integer giving the number of times to fit the one config row

verbose

logical. give status messages?

Value

A metab_model object with an augmented info slot (access with get_info) that includes, most importantly, a list element named fit_reps: fit_reps is a data.frame containing information on each repetition of the config_to_metab procedure, one row per repetition. Data columns include the metabolism estimates, data prep time, model fitting time, doobs simulation model, and an abbreviated version of the metab estimation config specifications .


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