Description Usage Arguments Details Value Author(s)
Monoexponential fit of OCT decay
1 2 3 4 5 6 7 8 9 10 | fitMonoExp(
x,
y,
uy,
method = "optim",
dataType = 2,
nb_chains = 4,
nb_warmup = 500,
nb_iter = nb_warmup + 500
)
|
x |
a numeric vector |
y |
a numeric vector of responses |
uy |
a numeric vector of uncertainty on 'y' |
method |
choice of optimization method in c('optim','sample') |
dataType |
an numeric (1 or 2) defining the type of data |
Bayesian inference of the parameters of an exponential
model assuming an uncorrelated normal noise
y(x) ~ normal(m(x),uy(x));
m(x) = theta[1] + theta[2]*exp(-dataType*x/theta[3])
.
A list containing
a vector of optimal parameters
correlation matrix of optimal parameters
choice of optimization method
a stanfit
object containg the results of the fit
Pascal PERNOT
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.