Learn R Programming

FreqProf (version 0.0.1)

approxm: Interpolate multiple columns of a data.frame

Description

Interpolate multiple columns of a data.frame

Usage

approxm(data1, n, method = "linear")

Arguments

data1
a data.frame with columns for interpolation
n
the number of points to interpolate
method
the method to interpolate by, "linear" or "spline"

Value

Returns a data.frame of all data1 variables interpolated to n rows.

See Also

approx is the underlying function and has more options