Interpolate a numeric or factor vector.
interpolate(x, ...)# S3 method for numeric
interpolate(x, ninterp = 4L, ...)
# S3 method for integer
interpolate(x, ninterp = 4L, ...)
# S3 method for factor
interpolate(x, ninterp = 4L, ...)
# S3 method for character
interpolate(x, ninterp = 4L, ...)
A numeric or factor vector.
Not used.
The number of points to interpolate between observations. It should be an even number for sensible results on a factor/character vector.