getR: Get initial search-radius

Description Usage Arguments Value Examples

View source: R/shepard.R

Description

This function determines a search radius such that on average 7 points lie within the ball with the radius.

Usage

1
getR(data, d = NULL)

Arguments

data

A matrix of the points for which the function is known

d

Dimension of the coordinate space

Value

The radius as a numeric

Examples

1
2
coords <- matrix(runif(10*4)*10, ncol=4)
getR(coords)

amaendle/mvInterpolation documentation built on May 16, 2019, 6:56 p.m.