R/HS.R

HS <- function(t, parent.0, k1, k2, tb)
{
	parent = ifelse(t <= tb, 
		parent.0 * exp(-k1 * t),
		parent.0 * exp(-k1 * tb) * exp(-k2 * (t - tb)))
}

Try the kinfit package in your browser

Any scripts or data that you put into this service are public.

kinfit documentation built on May 2, 2019, 6:30 p.m.