velInterp: Interpolate velocity model

velInterpR Documentation

Interpolate velocity model

Description

Define the interpolation parameters that will be used when the velocities will be plotted or used in other functions. To undo the interpolation, simply set method = stairs.

Usage

velInterp(
  x,
  type = c("vrms", "vint"),
  method = c("stairs", "linear", "nearest", "pchip", "cubic", "spline")
)

## S4 method for signature 'GPR'
velInterp(
  x,
  type = c("vrms", "vint"),
  method = c("stairs", "linear", "nearest", "pchip", "cubic", "spline")
)

Arguments

x

[GPR class] An object of the class GPR

type

[character(1)] Which type of velocity values has to be updated? The root-mean-square velocity (vrms) or the internal velocity (vint)?

method

[character(1)] Interpolation method to be applied: one of stairs, linear, nearest, pchip, spline, cubic (see also interp1).

Value

[GPR class] An object of the class GPR.


emanuelhuber/RGPR documentation built on May 13, 2024, 9:31 p.m.