fit.boltzmann: Fit readings with Boltzmann model

Description Usage Arguments Value Examples

View source: R/fit.R

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

1
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

1
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)

yanxianUCSB/gen5helper documentation built on June 22, 2020, 3:35 a.m.