spatial_interpolation: Legacy spatial interpolation function (for backward...

View source: R/07-interpolation.R

spatial_interpolationR Documentation

Legacy spatial interpolation function (for backward compatibility)

Description

Simplified version of spatial interpolation maintaining backward compatibility. For new projects, use spatial_interpolation_comprehensive() instead.

Usage

spatial_interpolation(
  spatial_data,
  target_variables,
  method = "NN",
  power = 2,
  mice_method = "pmm"
)

Arguments

spatial_data

sf object with some missing values

target_variables

Variables to interpolate

method

Interpolation method: "NN", "simple", "mice"

power

Power parameter for simple method (default: 2)

mice_method

MICE method for multivariate imputation

Value

sf object with interpolated values

Examples

## Not run: 
# These examples require external data files not included with the package
# Simple interpolation (legacy interface)
interpolated_data <- spatial_interpolation(
  soil_data,
  target_variables = c("nitrogen", "carbon"),
  method = "NN"
)

## End(Not run)


geospatialsuite documentation built on Nov. 6, 2025, 1:06 a.m.