predict: Prediction function using 'fitTK' object

predict.fitTKR Documentation

Prediction function using fitTK object

Description

Use when parameter are manually given by the user.

Usage

## S3 method for class 'fitTK'
predict(object, data, mcmc_size = NULL, fixed_init = TRUE, ...)

predict_stan(
  object,
  data,
  mcmc_size = NULL,
  fixed_init = TRUE,
  time_interp = NULL,
  iter = 1000,
  ...
)

predict_manual(
  param,
  data,
  time_accumulation = NULL,
  C0 = 0,
  G0 = NA,
  gmax = NA
)

Arguments

object

An object of stanfit

data

A data set with one column time and 1 to 4 exposure

mcmc_size

Size of mcmc chain if needed to be reduced

fixed_init

If TRUE fix the initial conditions of internal concentration. columns with name in expw, exps, expf and exppw

...

Additional arguments

time_interp

A vector with additional time point to interpolate. Time point of the original data set are conserved.

iter

Number of time steps

param

A dataframe with name of parameters kee, keg, ku1, ku2, ..., km1, km2, ... and kem1, kem2, ..., sigmaConc, sigmaCmet (if metabolites) and sigmaGrowth (if growth). The parameter kee is mandatory.

time_accumulation

the time of accumulation.

C0

Gives the initial conditions of internal concentration.

G0

initial condition of G0 (require if keg is provided)

gmax

gmax (require if keg is provided) columns with name in expw, exps, expf and exppw

Value

An object of class predictTK

An object of class predictTK


rbioacc documentation built on Sept. 21, 2023, 5:06 p.m.