Learn R Programming

isotracer (version 1.1.8)

trini_mod: Network model for nitrogen fluxes in Trinidadian streams (Collins et al. 2016)

Description

This model is used in the package case study about Trinidadian streams and is based on an original dataset taken from Collins et al. (2016).

Usage

trini_mod

Arguments

Format

An object of class networkModel (inherits from tbl_df, tbl, data.frame) with 6 rows and 6 columns.

Details

The model is complete, with topology, initial conditions, observations, covariates and priors.

It is ready for an MCMC run as shown in the example. Note that it might be a good idea to relax the priors for uptake rates from seston to Leptonema (e.g. using hcauchy_p(10)), seston being a compartment that is flowing with the stream water and that can be replenished from upstream.

Examples

Run this code
trini_mod
ggtopo(trini_mod)

if (FALSE) {
# Warning: the run below can take quite a long time!
# (about 15 min with 4 cores at 3.3 Ghz).
run <- run_mcmc(trini_mod, iter = 500, chains = 4, cores = 4)
}

Run the code above in your browser using DataLab