predict.mrts: Multi-Resolution Thin-plate Spline Basis Functions

View source: R/predictor.R

predict.mrtsR Documentation

Multi-Resolution Thin-plate Spline Basis Functions

Description

Evaluate multi-resolution thin-plate spline basis functions at given locations. This function provides a generic prediction method for mrts objects, in a similar way as predict.ns and predict.bs in splines package.

Usage

## S3 method for class 'mrts'
predict(object, newx, ...)

Arguments

object

object produced from calling mrts.

newx

an n by d matrix of coordinates corresponding to n locations.

...

not used but needed for the S3 generic/method compatibility.

Value

an n by k matrix of the k basis function in object taken values at newx.

Author(s)

ShengLi Tzeng, Hsin-Cheng Huang and Wen-Ting Wang.

See Also

mrts


egpivo/autoFRK documentation built on Aug. 30, 2024, 1:11 p.m.