Learn R Programming

SLGP (version 1.0.1)

evaluate_basis_functions: Evaluate basis functions at given locations.

Description

Evaluates all basis functions defined by a parameter list at new locations.

Usage

evaluate_basis_functions(parameters, X, lengthscale)

Value

A matrix of basis function values.

Arguments

parameters

List of basis function parameters.

X

Matrix or dataframe of evaluation locations.

lengthscale

Numeric vector. Lengthscales used for scaling the input space.