R/SlopeInt.R

Defines functions SlopeInt

Documented in SlopeInt

SlopeInt <-
function(v,z){
g=(v[1]-v[2])/(z[1]-z[2])
v0=v[2]-z[2]*g
return(list(g=g,v0=v0))
}

Try the TauP.R package in your browser

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

TauP.R documentation built on May 2, 2019, 3:25 a.m.