sample_IsoFit: Random sample of the parameters of a IsoFitInactivation...

Description Usage Arguments Details Value See Also

View source: R/predict_MCMC.R

Description

Function to be called by predict_inactivation_MCMC. Produces a random sample of the parameters adjusted from isothermal experiments.

Usage

1
sample_IsoFit(iso_fit, times, n_simulations)

Arguments

iso_fit

An object of class FitInactivationMCMC as generated by fit_inactivation_MCMC.

times

numeric vector specifying the time points when results are desired. If NULL, an equispaced interval between 0 and the maximum time of the observations with length 50 is used.

n_simulations

a numeric indicating how many Monte Carlo simulations to perform.

Details

It is assumed that the parameters follow a Multivariate Normal distribution with the mean and covariance matrix estimated by the adjustment. The function produces a random sample using the function mvrnorm.

Value

Returns a list with 4 components.

See Also

mvrnorm


bioinactivation documentation built on Aug. 1, 2019, 5:05 p.m.