Learn R Programming

KRIG (version 0.1.0)

triangular_kernel: Triangular kernel.

Description

Isotropic kernel defined with the max function.

Usage

triangular_kernel(h, c = 1, alpha = 1)

Arguments

h

distance variable.

c

amplitude parameter.

alpha

maximum distance value.

Value

Real value.

Examples

Run this code
# NOT RUN {
h<-0.2
c<-5
alpha<-2
triangular_kernel( h, c, alpha )
# }

Run the code above in your browser using DataLab