Learn R Programming

FRK (version 2.3.1)

Fixed Rank Kriging

Description

A tool for spatial/spatio-temporal modelling and prediction with large datasets. The approach models the field, and hence the covariance function, using a set of basis functions. This fixed-rank basis-function representation facilitates the modelling of big data, and the method naturally allows for non-stationary, anisotropic covariance functions. Discretisation of the spatial domain into so-called basic areal units (BAUs) facilitates the use of observations with varying support (i.e., both point-referenced and areal supports, potentially simultaneously), and prediction over arbitrary user-specified regions. `FRK` also supports inference over various manifolds, including the 2D plane and 3D sphere, and it provides helper functions to model, fit, predict, and plot with relative ease. Version 2.0.0 and above also supports the modelling of non-Gaussian data (e.g., Poisson, binomial, negative-binomial, gamma, and inverse-Gaussian) by employing a generalised linear mixed model (GLMM) framework. Zammit-Mangion and Cressie describe `FRK` in a Gaussian setting, and detail its use of basis functions and BAUs, while Sainsbury-Dale, Zammit-Mangion, and Cressie describe `FRK` in a non-Gaussian setting; two vignettes are available that summarise these papers and provide additional examples.

Copy Link

Version

Install

install.packages('FRK')

Monthly Downloads

924

Version

2.3.1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Andrew ZammitMangion

Last Published

July 16th, 2024

Functions in FRK (2.3.1)

STplane

plane in space-time
SRE.predict

df_to_SpatialPolygons

Convert data frame to SpatialPolygons
SpatialPolygonsDataFrame_to_df

SpatialPolygonsDataFrame to df
STsphere

Space-time sphere
coef_uncertainty

Uncertainty quantification of the fixed effects
combine_basis

Combine basis functions
TensorP

Tensor product of basis functions
auto_basis

Automatic basis-function placement
auto_BAUs

Automatic BAU generation
local_basis

Construct a set of local basis functions
distances

Pre-configured distances
draw_world

Draw a map of the world with country boundaries.
initialize,manifold-method

manifold
dist-matrix

Distance Matrix Computation from Two Matrices
eval_basis

Evaluate basis functions
loglik

(Deprecated) Retrieve log-likelihood
info_fit

Retrieve fit information for SRE model
manifold-class

manifold
manifold

Retrieve manifold
nbasis

Number of basis functions
measure-class

measure
worldmap

World map
plane

plane
remove_basis

Removes basis functions
plot_spatial_or_ST

Plot a Spatial*DataFrame or STFDF object
plot

Plot predictions from FRK analysis
show_basis

Show basis functions
isea3h

ISEA Aperture 3 Hexagon (ISEA3H) Discrete Global Grid
opts_FRK

FRK options
distance

Compute distance
real_line

real line
observed_BAUs

Observed (or unobserved) BAUs
nres

Return the number of resolutions
plotting-themes

Plotting themes
sphere

sphere
type

Type of manifold
Basis

Generic basis-function constructor
MODIS_cloud_df

MODIS cloud data
data.frame<-

Basis-function data frame object
Basis_obj-class

Basis functions
BAUs_from_points

Creates pixels around points
SRE-class

Spatial Random Effects class
FRK

Construct SRE object, fit and predict
Am_data

Americium soil data
AIRS_05_2003

AIRS data for May 2003
NOAA_df_1990

NOAA maximum temperature data for 1990--1993