Learn R Programming

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

FRK (version 2.0.1)

Fixed Rank Kriging

Description

Fixed Rank Kriging is 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 r basis functions, where r is typically much smaller than the number of data points (or polygons) m. This low-rank basis-function representation facilitates the modelling of 'big' spatial/spatio-temporal data. 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 of the package `FRK` also supports modelling of non-Gaussian data, by employing a spatial generalised linear mixed model (GLMM) framework to cater for Poisson, binomial, negative-binomial, gamma, and inverse-Gaussian distributions. Zammit-Mangion and Cressie describe `FRK` in a Gaussian setting, and detail its use of basis functions and BAUs.

Copy Link

Version

Install

install.packages('FRK')

Monthly Downloads

710

Version

2.0.1

License

GPL (>= 2)

Maintainer

Andrew ZammitMangion

Last Published

October 11th, 2021

Functions in FRK (2.0.1)

NOAA_df_1990

NOAA maximum temperature data for 1990--1993
data.frame<-

Basis-function data frame object
Basis

Generic basis-function constructor
Basis_obj-class

Basis functions
BAUs_from_points

Creates pixels around points
AIRS_05_2003

AIRS data for May 2003
MODIS_cloud_df

MODIS cloud data
Am_data

Americium soil data
FRK

Construct SRE object, fit and predict
SRE-class

Spatial Random Effects class
df_to_SpatialPolygons

Convert data frame to SpatialPolygons
TensorP

Tensor product of basis functions
dist-matrix

Distance Matrix Computation from Two Matrices
auto_BAUs

Automatic BAU generation
eval_basis

Evaluate basis functions
plot

Plot predictions from FRK analysis
plane

plane
draw_world

Draw a map of the world with country boundaries.
STsphere

Space-time sphere
info_fit

Retrieve fit information for SRE model
SpatialPolygonsDataFrame_to_df

SpatialPolygonsDataFrame to df
initialize,manifold-method

manifold
auto_basis

Automatic basis-function placement
distance

Compute distance
distances

Pre-configured distances
real_line

real line
combine_basis

Combine basis functions
opts_FRK

FRK options
observed_BAUs

Observed (or unobserved) BAUs
loglik

Retrieve log-likelihood
manifold-class

manifold
manifold

Retrieve manifold
show_basis

Show basis functions
measure-class

measure
SRE.predict

sphere

sphere
isea3h

ISEA Aperture 3 Hexagon (ISEA3H) Discrete Global Grid
plot_spatial_or_ST

Plot a Spatial*DataFrame or STFDF object
STplane

plane in space-time
plotting-themes

Plotting themes
local_basis

Construct a set of local basis functions
type

Type of manifold
worldmap

World map
nres

Return the number of resolutions
nbasis

Number of basis functions
remove_basis

Removes basis functions