Learn R Programming

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

FRK (version 2.0.2)

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.2

License

GPL (>= 2)

Maintainer

Andrew ZammitMangion

Last Published

November 16th, 2021

Functions in FRK (2.0.2)

NOAA_df_1990

NOAA maximum temperature data for 1990--1993
FRK

Construct SRE object, fit and predict
data.frame<-

Basis-function data frame object
SRE-class

Spatial Random Effects class
Basis

Generic basis-function constructor
MODIS_cloud_df

MODIS cloud data
BAUs_from_points

Creates pixels around points
Basis_obj-class

Basis functions
AIRS_05_2003

AIRS data for May 2003
Am_data

Americium soil data
SRE.predict

combine_basis

Combine basis functions
auto_basis

Automatic basis-function placement
distances

Pre-configured distances
distance

Compute distance
dist-matrix

Distance Matrix Computation from Two Matrices
df_to_SpatialPolygons

Convert data frame to SpatialPolygons
initialize,manifold-method

manifold
info_fit

Retrieve fit information for SRE model
observed_BAUs

Observed (or unobserved) BAUs
opts_FRK

FRK options
loglik

Retrieve log-likelihood
STplane

plane in space-time
STsphere

Space-time sphere
SpatialPolygonsDataFrame_to_df

SpatialPolygonsDataFrame to df
nbasis

Number of basis functions
isea3h

ISEA Aperture 3 Hexagon (ISEA3H) Discrete Global Grid
show_basis

Show basis functions
plot

Plot predictions from FRK analysis
plane

plane
local_basis

Construct a set of local basis functions
type

Type of manifold
manifold

Retrieve manifold
worldmap

World map
measure-class

measure
nres

Return the number of resolutions
sphere

sphere
manifold-class

manifold
remove_basis

Removes basis functions
real_line

real line
TensorP

Tensor product of basis functions
auto_BAUs

Automatic BAU generation
eval_basis

Evaluate basis functions
draw_world

Draw a map of the world with country boundaries.
plot_spatial_or_ST

Plot a Spatial*DataFrame or STFDF object
plotting-themes

Plotting themes