eval_function.rbf: Evaluate rbf function

Description Usage Arguments Value Examples

View source: R/evaluate_functions.R

Description

Method for evaluating the rbf function with M basis for observation data obs and coefficients w.

Usage

1
2
## S3 method for class 'rbf'
eval_function(x, obs, w, ...)

Arguments

x

The basis function object.

obs

Input / observation data.

w

Vector of length M, containing the coefficients of an Mth-order basis function.

...

Optional additional parameters

Value

The rbf function values.

Examples

1
2
3
4
x <- rbf.object(M=2, mus = c(2,2.5))
obs <- c(1,2,3)
w <- c(0.1, 0.3, -0.6)
out <- eval_function(x, obs, w)

andreaskapou/mpgex documentation built on Nov. 25, 2017, 8:08 a.m.