best_method: Best Method Interpolation

Description Usage Arguments Value Author(s) Examples

View source: R/best_method.R

Description

Best Method Interpolation

Usage

1
best_method(gauge, cov, idpR = seq(0.8, 3.5, 0.1), formula)

Arguments

gauge

Is an object of SpatialPointsDataFrame-class.

cov

Is an object of RasterLayer.

idpR

Is vector numeric of the power coeficient to evaluate.

formula

that defines the dependent variable as a linear model of independent variables; suppose the dependent variable has name 'z', for Kriging with Extrenal Drift (KED) use the formula 'z~x+y+....', you do not need define

Value

a List that contains: Interpol is the KED result in Raster, params being residual that are spatial residual obtains in the cross-validation (residual), MSE is the Residual Mean squared error and finally var is the variogram model.

Author(s)

Cesar Aybar <aybar1994@gmail.com>

Examples

1
2
3
4
data("Dorado")
gauge <- mean_doble_Station(gauge = Dorado$gauge,cov = Dorado$TRMM)
sat <- Dorado$TRMM
x <- best_method(gauge = gauge,cov = sat,formula = PP_anual~Precipitacion_Anual)

AybarCL/Dorado documentation built on Jan. 13, 2020, 1:13 p.m.