basis_mat: Construct matrix of basis functions

Description Usage Arguments Details Value Note

View source: R/basis_mat.r

Description

Constructs the matrix of basis functions from a set of locations and a set of knots.

Usage

1
basis_mat(coords, knots, mult = 1.3, FUN = "bisq", ...)

Arguments

coords

the coordinates of the data locations (dimension n1 x p).

knots

the coordinates of the knots (dimension n2 x p).

mult

multiplier for range of each basis function.

FUN

the basis functions, currently bisquare (bisq) and modified bisquare (mod_bisq) are accepted.

...

space for additional arguments

Details

Distances are computed using pairwise_dist, see documention of that function for different methods of calculating distance.

Value

A matrix of size n1 \times n2 containing pairwise distances.

Note

In future releases, custom basis functions will be permitted.


jelsema/RRSM documentation built on May 19, 2019, 4:02 a.m.