Package: FRK
Type: Package
Title: Fixed Rank Kriging
Version: 2.3.2
Date: 2026-01-15
Authors@R: c(
    person("Andrew", "Zammit-Mangion", , "andrewzm@gmail.com", c("aut", "cre")),
    person("Matthew", "Sainsbury-Dale", , "msdale@uow.edu.au", c("aut")))
Maintainer: Andrew Zammit-Mangion <andrewzm@gmail.com>
VignetteBuilder: knitr
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 <doi:10.18637/jss.v098.i04> describe `FRK` in a Gaussian setting, and detail its use of basis functions and BAUs, while Sainsbury-Dale, Zammit-Mangion, and Cressie <doi:10.18637/jss.v108.i10> describe `FRK` in a non-Gaussian setting; two vignettes are available that summarise these papers and provide additional examples.
URL: https://andrewzm.github.io/FRK/, https://github.com/andrewzm/FRK/
BugReports: https://github.com/andrewzm/FRK/issues/
Depends: R (>= 3.5.0)
Suggests: covr, dggrids, gridExtra, gstat, knitr, lme4, mapproj,
        parallel, sf, spdep, splancs, testthat, verification
Imports: digest, dplyr, fmesher, ggplot2, grDevices, Hmisc (>= 4.1),
        Matrix, methods, plyr, Rcpp (>= 0.12.12), sp, spacetime,
        sparseinv, statmod, stats, TMB, utils, ggpubr, reshape2, scales
Additional_repositories: https://andrewzm.github.io/dggrids-repo/
License: GPL (>= 2)
NeedsCompilation: yes
LazyData: true
RoxygenNote: 7.3.2
LinkingTo: Rcpp, TMB, RcppEigen
Encoding: UTF-8
Packaged: 2026-01-15 21:55:06 UTC; andrewzm
Author: Andrew Zammit-Mangion [aut, cre],
  Matthew Sainsbury-Dale [aut]
Repository: CRAN
Date/Publication: 2026-01-16 09:10:53 UTC
Built: R 4.5.3; x86_64-w64-mingw32; 2026-08-05 15:23:32 UTC; windows
Archs: x64
