Learn R Programming

BayesMRA (version 1.0.0)

wendland_basis: calculate the Wendland basis function

Description

calculate the Wendland basis function

Usage

wendland_basis(d, radius)

Arguments

d

The distance over which to calculate the Wendland basis

radius

The effective radius over which the Wendland basis is defined

Value

The output of the Wendland basis applied to the distance d for a given radius radius.

Examples

Run this code
# NOT RUN {
layout(matrix(1:2, 1, 2))
curve(wendland_basis(sqrt(x^2), radius = 1), from = -2, to = 2)
curve(wendland_basis(sqrt(x^2), radius = 2), from = -2, to = 2)

# }

Run the code above in your browser using DataLab