Package: FRK 2.3.1
FRK: Fixed Rank Kriging
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.
Authors:
FRK_2.3.1.tar.gz
FRK_2.3.1.zip(r-4.5)FRK_2.3.1.zip(r-4.4)FRK_2.3.1.zip(r-4.3)
FRK_2.3.1.tgz(r-4.4-x86_64)FRK_2.3.1.tgz(r-4.4-arm64)FRK_2.3.1.tgz(r-4.3-x86_64)FRK_2.3.1.tgz(r-4.3-arm64)
FRK_2.3.1.tar.gz(r-4.5-noble)FRK_2.3.1.tar.gz(r-4.4-noble)
FRK_2.3.1.tgz(r-4.4-emscripten)FRK_2.3.1.tgz(r-4.3-emscripten)
FRK.pdf |FRK.html✨
FRK/json (API)
# Install 'FRK' in R: |
install.packages('FRK', repos = c('https://andrewzm.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/andrewzm/frk/issues
- AIRS_05_2003 - AIRS data for May 2003
- Am_data - Americium soil data
- MODIS_cloud_df - MODIS cloud data
- NOAA_df_1990 - NOAA maximum temperature data for 1990-1993
- isea3h - ISEA Aperture 3 Hexagon (ISEA3H) Discrete Global Grid
- worldmap - World map
Last updated 2 months agofrom:fc6389b3ec. Checks:OK: 9. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 04 2024 |
R-4.5-win-x86_64 | OK | Nov 04 2024 |
R-4.5-linux-x86_64 | OK | Nov 04 2024 |
R-4.4-win-x86_64 | OK | Nov 04 2024 |
R-4.4-mac-x86_64 | OK | Nov 04 2024 |
R-4.4-mac-aarch64 | OK | Nov 04 2024 |
R-4.3-win-x86_64 | OK | Nov 04 2024 |
R-4.3-mac-x86_64 | OK | Nov 04 2024 |
R-4.3-mac-aarch64 | OK | Nov 04 2024 |
Exports:AICauto_basisauto_BAUsBasisBAUs_from_pointsBICcoefcoef_uncertaintycombine_basisdata.frame<-df_to_SpatialPolygonsdistancedistRdraw_worldEmptyThemeEuclid_disteval_basisfittedFRKgc_distgc_dist_timeinfo_fitLinePlotThemelocal_basislogliklogLikmanifoldmeasurenbasisnobsnresobserved_BAUsopts_FRKplaneplotplot_spatial_or_STpredictradial_basisreal_lineremove_basisresidualsshow_basissimulateSpatialPolygonsDataFrame_to_dfsphereSRESRE.fitSRE.predictSTplaneSTsphereTensorPtypeunobserved_BAUs
Dependencies:abindbackportsbase64encbootbroombslibcachemcarcarDatacheckmateclassclassIntcliclustercolorspacecorrplotcowplotcpp11data.tableDBIDerivdigestdoBydotCall64dplyre1071evaluatefansifarverfastmapfmesherfontawesomeforeignFormulafsgenericsggplot2ggpubrggrepelggsciggsignifgluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsintervalsisobandjquerylibjsonliteKernSmoothknitrlabelinglatticelifecyclelme4magrittrMASSMatrixMatrixModelsmemoisemgcvmicrobenchmarkmimeminqamodelrmunsellnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigplyrpolynomproxypurrrquantregR6rappdirsRColorBrewerRcppRcppEigenreshape2rlangrmarkdownrpartrstatixrstudioapis2sassscalessfspspacetimespamsparseinvSparseMstatmodstringistringrsurvivaltibbletidyrtidyselecttinytexTMBunitsutf8vctrsviridisviridisLitewithrwkxfunxtsyamlzoo
Introduction to FRK
Rendered fromFRK_intro.Rnw
usingknitr::knitr
on Nov 04 2024.Last update: 2024-06-17
Started: 2015-05-13
Tutorial on modelling spatial and spatio-temporal non-Gaussian data with FRK
Rendered fromFRK_non-Gaussian.Rnw
usingknitr::knitr
on Nov 04 2024.Last update: 2022-08-30
Started: 2021-09-24
Readme and manuals
Help Manual
Help page | Topics |
---|---|
AIRS data for May 2003 | AIRS_05_2003 |
Americium soil data | Am_data |
Automatic basis-function placement | auto_basis |
Automatic BAU generation | auto_BAUs |
Generic basis-function constructor | Basis |
Basis functions | Basis-class Basis_obj-class TensorP_Basis-class |
Creates pixels around points | BAUs_from_points BAUs_from_points,SpatialPoints-method BAUs_from_points,ST-method |
Uncertainty quantification of the fixed effects | coef_uncertainty |
Combine basis functions | combine_basis combine_basis,Basis-method combine_basis,list-method |
Basis-function data frame object | $,Basis-method $<-,Basis-method as.data.frame.Basis as.data.frame.TensorP_Basis data.frame<- data.frame<-,Basis-method data.frame<-,TensorP_Basis-method data.frame_Basis,Basis-method |
Convert data frame to SpatialPolygons | df_to_SpatialPolygons |
Distance Matrix Computation from Two Matrices | dist-matrix distR |
Compute distance | distance distance,manifold-method distance,measure-method |
Pre-configured distances | distances Euclid_dist gc_dist gc_dist_time measure |
Draw a map of the world with country boundaries. | draw_world |
Evaluate basis functions | eval_basis eval_basis,Basis,matrix-method eval_basis,Basis,SpatialPointsDataFrame-method eval_basis,Basis,SpatialPolygonsDataFrame-method eval_basis,Basis,STIDF-method eval_basis,Basis-matrix-method eval_basis,Basis-SpatialPointsDataFrame-method eval_basis,Basis-SpatialPolygonsDataFrame-method eval_basis,Basis-STIDF-method eval_basis,TensorP_Basis,matrix-method eval_basis,TensorP_Basis,STFDF-method eval_basis,TensorP_Basis,STIDF-method eval_basis,TensorP_Basis-matrix-method eval_basis,TensorP_Basis-STFDF-method eval_basis,TensorP_Basis-STIDF-method |
Construct SRE object, fit and predict | AIC,SRE-method BIC,SRE-method coef,SRE-method coef_uncertainty,SRE-method fitted,SRE-method FRK logLik,SRE-method nobs,SRE-method predict,SRE-method residuals,SRE-method simulate SRE SRE.fit |
Retrieve fit information for SRE model | info_fit info_fit,SRE-method |
manifold | initialize,manifold-method |
ISEA Aperture 3 Hexagon (ISEA3H) Discrete Global Grid | isea3h |
Construct a set of local basis functions | local_basis radial_basis |
(Deprecated) Retrieve log-likelihood | loglik loglik,SRE-method |
Retrieve manifold | manifold manifold,Basis-method manifold,TensorP_Basis-method |
manifold | manifold-class plane-class real_line-class sphere-class STmanifold-class STplane-class STsphere-class |
measure | measure-class |
MODIS cloud data | MODIS_cloud_df |
Number of basis functions | nbasis nbasis,Basis_obj-method nbasis,SRE-method |
NOAA maximum temperature data for 1990-1993 | NOAA_df_1990 |
Return the number of resolutions | nres nres,Basis-method nres,SRE-method nres,TensorP_Basis-method nres_basis,Basis-method nres_SRE,SRE-method |
Observed (or unobserved) BAUs | observed_BAUs observed_BAUs,SRE-method unobserved_BAUs unobserved_BAUs,SRE-method |
FRK options | opts_FRK |
plane | plane |
Plot predictions from FRK analysis | plot plot,SRE,list-method plot,SRE,SpatialPixelsDataFrame-method plot,SRE,SpatialPointsDataFrame-method plot,SRE,SpatialPolygonsDataFrame-method plot,SRE,STFDF-method |
Plot a Spatial*DataFrame or STFDF object | plot_spatial_or_ST plot_spatial_or_ST,SpatialPixelsDataFrame-method plot_spatial_or_ST,SpatialPointsDataFrame-method plot_spatial_or_ST,SpatialPolygonsDataFrame-method plot_spatial_or_ST,STFDF-method |
Plotting themes | EmptyTheme LinePlotTheme plotting-themes |
real line | real_line |
Removes basis functions | remove_basis remove_basis,Basis,ANY-method remove_basis,Basis,SpatialPolygons-method remove_basis,Basis-method |
Show basis functions | show_basis show_basis,Basis-method show_basis,TensorP_Basis-method |
SpatialPolygonsDataFrame to df | SpatialPolygonsDataFrame_to_df |
sphere | sphere |
Spatial Random Effects class | SRE-class |
Deprecated: Please use 'predict' | SRE.predict |
plane in space-time | STplane |
Space-time sphere | STsphere |
Tensor product of basis functions | TensorP TensorP,Basis,Basis-method TensorP,Basis-Basis-method |
Type of manifold | type type,manifold-method |
World map | worldmap |