R/epa.tailup.R

Defines functions epa.tailup

epa.tailup <- function(dist.hydro, weight, parsil = parsil, range1 = range1)
{
	no <- length(dist.hydro[,1])
	np <- length(dist.hydro[1,])
	parsil/(16*range1^5)*(dist.hydro - range1)^2*
		(16*range1^3*(dist.hydro*0 + 1) +
		17*range1^2*dist.hydro -
		2*range1*dist.hydro^2 - 
		dist.hydro^3)*
		(dist.hydro < range1)*weight
}

Try the SSN package in your browser

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

SSN documentation built on March 7, 2023, 5:30 p.m.