-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Imported rnorm from stats - Added xlims and ylims to BAUs - Made lik computation more efficient - Made interpolation near origin default variogram fitting choice (linear is second, exp is third) - Moved est_obs_variance to SREutils.R - Added function .formula_no_covars which takes a formula with covariates and returns a formula with only intercept term. Added test for it - Added tests for xlims and ylims
- Loading branch information
Showing
13 changed files
with
264 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
#' Fixed Rank Kriging | ||
#' | ||
#' Fixed Rank Kriging is a tool for spatial/spatio-temporal modelling and prediction with large datasets. The approach, discussed in Cressie and Johannesson (2008), decomposes the field, and hence the covariance function, using a fixed set of n basis functions, where n is typically much smaller than the number of data points (or polygons) m. The method naturally allows for non-stationary, anisotropic covariance functions and the use of observations with varying support (with known error variance). The projected field is a key building block of the Spatial Random Effects (SRE) model, on which this package is based. The package FRK provides helper functions to model, fit, and predict using an SRE with relative ease. Reference: Cressie, N. and Johannesson, G. (2008) <DOI:10.1111/j.1467-9868.2007.00633.x>. | ||
#' @name FRK-package | ||
#' @docType package | ||
#' @useDynLib FRK, .registration=TRUE | ||
#' @import methods | ||
#' @import ggplot2 | ||
#' @import Matrix | ||
#' @import sp | ||
#' @import spacetime | ||
#' @import parallel | ||
#' @import dplyr | ||
#' @importFrom Hmisc round.POSIXt trunc.POSIXt ceil | ||
#' @importFrom plyr ddply dlply rbind.fill | ||
#' @importFrom digest digest | ||
#' @importFrom Rcpp cppFunction | ||
#' @importFrom grDevices chull | ||
#' @importFrom stats .getXlevels coefficients dist kmeans lm median model.extract model.frame model.matrix na.fail optim runif sd terms var time | ||
#' @importFrom utils data | ||
NULL | ||
#' Fixed Rank Kriging | ||
#' | ||
#' Fixed Rank Kriging is a tool for spatial/spatio-temporal modelling and prediction with large datasets. The approach, discussed in Cressie and Johannesson (2008), decomposes the field, and hence the covariance function, using a fixed set of n basis functions, where n is typically much smaller than the number of data points (or polygons) m. The method naturally allows for non-stationary, anisotropic covariance functions and the use of observations with varying support (with known error variance). The projected field is a key building block of the Spatial Random Effects (SRE) model, on which this package is based. The package FRK provides helper functions to model, fit, and predict using an SRE with relative ease. Reference: Cressie, N. and Johannesson, G. (2008) <DOI:10.1111/j.1467-9868.2007.00633.x>. | ||
#' @name FRK-package | ||
#' @docType package | ||
#' @useDynLib FRK, .registration=TRUE | ||
#' @import methods | ||
#' @import ggplot2 | ||
#' @import Matrix | ||
#' @import sp | ||
#' @import spacetime | ||
#' @import parallel | ||
#' @import dplyr | ||
#' @importFrom Hmisc round.POSIXt trunc.POSIXt ceil | ||
#' @importFrom plyr ddply dlply rbind.fill | ||
#' @importFrom digest digest | ||
#' @importFrom Rcpp cppFunction | ||
#' @importFrom grDevices chull | ||
#' @importFrom stats .getXlevels coefficients dist kmeans lm median model.extract model.frame model.matrix na.fail optim runif sd terms var time rnorm | ||
#' @importFrom utils data | ||
NULL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.