R/horizon.R

Defines functions horizon

Documented in horizon

horizon <- function(h, r=6378137) {
	x = cbind(as.vector(h), as.vector(r))
	h = x[,1]
	r = x[,2]
	
	b = 0.8279
	sqrt( 2 * r * h / b ) 
}
rspatial/geosphere documentation built on Oct. 12, 2024, 11:44 a.m.