Learn R Programming

SpatPCA (version 1.3.5)

thinPlateSplineMatrix: Thin-plane spline matrix

Description

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

Usage

thinPlateSplineMatrix(location)

Value

A thin-plane spline matrix

Arguments

location

A location matrix

Examples

Run this code
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)

Run the code above in your browser using DataLab