powered by
Calculates slope and y-intercept of the velocity-depth function for a layer.
SlopeInt(v, z)
2-element vector of velocities (km/s)
2-element vector of depths (km)
List with the following elements:
Gradient of velocity-depth linear approximation (km/s / km)
Constant term of velocity-depth linear approximation (km/s)
# NOT RUN { SlopeInt(c(5, 5.1), c(20, 22)) # }
Run the code above in your browser using DataLab