oneStation_DOlogprob: Log posterior probability for the DO curve given empirical...

Description Usage Arguments Details Value

View source: R/onestation.r

Description

Log posterior probability for the DO curve given empirical data

Usage

1
oneStation_DOlogprob(params, data, prior = list(), ...)

Arguments

params

A named vector of model parameters; see details

data

A list of model data, see details

prior

A list of prior hyperparameters; see details

...

Additional parameters to be passed to DO_predict()

Details

#' params must be a vector including the following named items:

data is a named list of (constant) data items, including the following:

prior is a list of hyperparameters for the priors on parameters listed under params. All priors are normal. Thus, each list item should be named (following the names from params), and each item should be a vector of length two giving the mean and standard deviation of the prior for that parameter. Note that each parameter is optional (as is the entire list); missing items will get a minimally informative normal(0,10) distribution.

Value

The unnormalized log probability of the model given the data


mtalluto/NSmetabolism documentation built on May 3, 2021, 7:51 p.m.