Learn R Programming

⚠️There's a newer version (2.3.1) of this package.Take me there.

FRK (version 2.1.5)

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 et al. 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

544

Version

2.1.5

License

GPL (>= 2)

Maintainer

Andrew ZammitMangion

Last Published

February 1st, 2023

Functions in FRK (2.1.5)

MODIS_cloud_df

MODIS cloud data
Basis_obj-class

Basis functions
data.frame<-

Basis-function data frame object
auto_BAUs

Automatic BAU generation
TensorP

Tensor product of basis functions
df_to_SpatialPolygons

Convert data frame to SpatialPolygons
dist-matrix

Distance Matrix Computation from Two Matrices
Am_data

Americium soil data
eval_basis

Evaluate basis functions
draw_world

Draw a map of the world with country boundaries.
isea3h

ISEA Aperture 3 Hexagon (ISEA3H) Discrete Global Grid
combine_basis

Combine basis functions
loglik

(Deprecated) Retrieve log-likelihood
local_basis

Construct a set of local basis functions
SRE.predict

auto_basis

Automatic basis-function placement
NOAA_df_1990

NOAA maximum temperature data for 1990--1993
STplane

plane in space-time
STsphere

Space-time sphere
SpatialPolygonsDataFrame_to_df

SpatialPolygonsDataFrame to df
real_line

real line
manifold-class

manifold
observed_BAUs

Observed (or unobserved) BAUs
manifold

Retrieve manifold
plotting-themes

Plotting themes
plot_spatial_or_ST

Plot a Spatial*DataFrame or STFDF object
info_fit

Retrieve fit information for SRE model
measure-class

measure
distance

Compute distance
initialize,manifold-method

manifold
remove_basis

Removes basis functions
type

Type of manifold
distances

Pre-configured distances
opts_FRK

FRK options
nres

Return the number of resolutions
nbasis

Number of basis functions
worldmap

World map
plane

plane
sphere

sphere
plot

Plot predictions from FRK analysis
show_basis

Show basis functions
BAUs_from_points

Creates pixels around points
AIRS_05_2003

AIRS data for May 2003
SRE-class

Spatial Random Effects class
FRK

Construct SRE object, fit and predict
Basis

Generic basis-function constructor