fit.boltzmann {gen5helper} | R Documentation |
Fit readings with Boltzmann model
Description
fit.boltzmann() using Boltzmann model to fit readings and time intervals with unit of hours, using start as initial guesses. It appends A, y0, k, t2 and val.predict, while preserving existing variables.
Usage
fit.boltzmann(.data, A0 = 1, k0 = 1, t20 = 1)
Arguments
.data |
data.frame with x as time, y as value |
A0 |
initial guess of amplititue, default 1 |
k0 |
initial guess, default 1 |
t20 |
initial guess, default 1 |
Value
data.frame with fitted parameter and predicted value
Examples
fit.boltzmann(data.frame(x=1:10,y=c(0,0,1,3,5,7,9,10,10,10)), A0 = 10, k0 = 10, t20 = 5)
[Package gen5helper version 1.0.1 Index]