Learn R Programming

rbioacc (version 1.2.1)

fitTK: Posterior predictive check

Description

Posterior predictive check

Bayesian inference of TK model with Stan

Bayesian inference of TK model with variable exposure profile (BETA version)

Usage

fitTK(stanTKdata, ...)

# S3 method for stanTKdataCST fitTK(stanTKdata, ...)

# S3 method for stanTKdataVAR fitTK(stanTKdata, ...)

Value

An object of class fitTK containing two object: stanTKdata

the data set used for inference and stanfit returned by rstan::sampling

Arguments

stanTKdata

List of Data require for computing

...

Arguments passed to rstan::sampling (e.g. iter, chains).