interpolate_surface: Function to conveniently interpolate a reglar surface from...

Description Usage Arguments Value Author(s)

View source: R/interpolate_surface.R

Description

interpolate_surface uses the akima package to interpolate and the fields package to smooth the surface.

Usage

1
2
interpolate_surface(df, x = "x", y = "y", z = "z", smooth = TRUE,
  length = 100)

Arguments

df

Data frame.

x

Variable.

y

Variable.

z

Variable.

smooth

Should the surface be smoothed?

length

Length of grid to interpolate to.

Value

Data frame.

Author(s)

Stuart K. Grange


skgrange/enlightenr documentation built on May 30, 2019, 1:03 a.m.