Interpolation

pathInterpolate(x, ninterp = 4)

# S3 method for default
pathInterpolate(x, ninterp = 4L)

# S3 method for factor
pathInterpolate(x, ninterp = 4L)

# S3 method for data.frame
pathInterpolate(x, ninterp = 4L)

Arguments

x

a numeric or factor vector or dataframe

ninterp

number of interpolated steps

Value

interpolated version of x

Methods (by class)

  • pathInterpolate(default): Default interpolate method

  • pathInterpolate(factor): pathInterpolate method for factor

  • pathInterpolate(data.frame): pathInterpolate method for data.frame