Learn R Programming

SpatPCA (version 1.3.5)

spatialPrediction: Internal function: Spatial prediction

Description

Internal function: Spatial prediction

Usage

spatialPrediction(phir, Yr, gamma, predicted_eignefunction)

Value

A list of objects

prediction

A vector of spatial predictions

estimated_covariance

An estimated covariance matrix.

eigenvalue

A vector of estimated eigenvalues.

error

Error rate for the ADMM algorithm

Arguments

phir

A matrix of estimated eigenfunctions based on original locations

Yr

A data matrix

gamma

A gamma value

predicted_eignefunction

A vector of values of an eigenfunction on new locations