summaryrefslogblamecommitdiff
path: root/R/HS.R
blob: 0755c9032b24876527fbf4264079567a751f9b89 (plain) (tree)
1
2
3
4
5
6





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

Contact - Imprint