thinPlateSplineMatrix: Thin-plane spline matrix

Description Usage Arguments Value Examples

View source: R/RcppExports.R

Description

Produce a thin-plane spline matrix based on a given location matric

Usage

1

Arguments

location

A location matrix

Value

A thin-plane spline matrix

Examples

1
2
3
pesudo_sequence <- seq(-5, 5, length = 5)
two_dim_location <- as.matrix(expand.grid(x = pesudo_sequence, y = pesudo_sequence))
thin_plate_matrix <- thinPlateSplineMatrix(two_dim_location)

SpatPCA documentation built on Jan. 31, 2021, 5:05 p.m.