interpolate: Interpolate

Description Usage Arguments

Description

Interpolate a numeric or factor vector.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
interpolate(x, ...)

## S3 method for class 'numeric'
interpolate(x, ninterp = 4L, ...)

## S3 method for class 'integer'
interpolate(x, ninterp = 4L, ...)

## S3 method for class 'factor'
interpolate(x, ninterp = 4L, ...)

## S3 method for class 'character'
interpolate(x, ninterp = 4L, ...)

Arguments

x

A numeric or factor vector.

...

Not used.

ninterp

The number of points to interpolate between observations. It should be an even number for sensible results on a factor/character vector.


condvis documentation built on May 2, 2019, 5:57 a.m.