R/lin.tailup.R

Defines functions lin.tailup

lin.tailup <- function(dist.hydro, weight, parsil = parsil, range1 = range1)
{
	no <- length(dist.hydro[,1])
	np <- length(dist.hydro[1,])
	parsil*(matrix(rep(1, times = no*np), nrow = no) - dist.hydro/range1)*
		(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.