wendland_basis: calculate the Wendland basis function

Description Usage Arguments Value Examples

View source: R/wendland_basis.R

Description

calculate the Wendland basis function

Usage

1
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

1
2
3
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)

BayesMRA documentation built on Aug. 18, 2020, 5:08 p.m.