Learn R Programming

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

SpatioTemporal (version 1.1.2)

Spatio-Temporal Model Estimation

Description

Utilities that estimate, predict and cross-validate the spatio-temporal model developed for MESA Air.

Copy Link

Version

Install

install.packages('SpatioTemporal')

Monthly Downloads

49

Version

1.1.2

License

GPL-2

Maintainer

Johan Lindstrom

Last Published

October 10th, 2012

Functions in SpatioTemporal (1.1.2)

c.STmodel

Combine Several STmodel/STdata Objects
calc.mu.B

Matrix Multiplication with Block Matrices
MCMC

Run MCMC for an object
createCV

Define Cross-Validation Groups
norm2

Computes Inner Product and Squared 2-norm
createLUR

Add Covariate Fields to STdata Object.
estimate.STmodel

Estimation of the Spatio-Temporal Model
estimateCV.STmodel

Cross-Validated Estimation and Prediction
loglikeST

Compute the Log-likelihood for the Spatio-Temporal Model
expandF

Expand F
plot.SVDcv

Plot cross-validation statistics for SVDcv object
loglikeSTgetPars

Extract Parameters from a Vector
print.estimateSTmodel

Print details for estimateSTmodel object
print.predictSTmodel

Print details for predictSTmodel object
stCheckCovars

Check a data.frame of Covariates
summary.STdata

Computes summary details for STdata object
summary.estCVSTmodel

Computes summary details for estCVSTmodel object
print.STdata

Print details for STdata object
makeSigmaNu

Create Block Covariance Matrix (Unequal Block Sizes)
removeSTcovarMean

Mean-Centre the Spatio-Temporal Covariate
mesa.data.raw

Example of raw data
print.estCVSTmodel

Print details for estCVSTmodel object
print.SVDcv

Print details for SVDcv object
mesa.model

Example of a STmodel Structure
print.mcmcSTmodel

Print details for mcmcSTmodel object
calc.FX

Compute Matrix Product Bewteen Temporal Trends and a LUR components
SpatioTemporal-package

Spatio-Temporal Modelling
sumLogDiag

Sum the Logarithm of Diagonal Elements
stCheckClass

Test if an object belongs to given class(es).
print.summary.predCVSTmodel

Print details for summary.predCVSTmodel object
loglikeSTdim

Dimensions of the STmodel Structure
convertCharToDate

Convert Character to Dates
print.summary.mcmcSTmodel

Print details for summary.mcmcSTmodel object
createSTdata

Construct STdata Object
estimate

Model Estimation
createSTmodel

Construct STmodel Object
mesa.data

Example of a STdata Structure
pred.mesa.model

Example of a predictSTmodel Structure
updateCovf

Update Covariance Functions in STmodel Objects
MCMC.mesa.model

Example of a mcmcSTmodel Structure
plot.predCVSTmodel

Plots for predictSTmodel and predCVSTmodel Objects
genGradient

Compute Finite Difference Gradient and Hessians.
namesCovFuns

Available covariance functions
plot.STdata

Different Plots for STdata/STmodel object
stCheckFields

Test if fields exist in an object.
evalCovFuns

Compute Covariance Function
print.summary.STmodel

Print details for summary.STmodel object
parsCovFuns

Parameter Names for Covariance Function(s)
loglikeSTnames

Create Names for Log-likelihood Parameters for STmodel objects
processLUR

Internal Function that do Covariate Selection
updateSTdataTrend

Update Trend in STdata Object
createDataMatrix

Create a Data Matrix
loglikeSTGrad

Compute Gradient and Hessian for the Log-likelihood
make.sigma.B

Deprecated functions, use replacements!
coef.estCVSTmodel

Returns estimated parameters for each CV-group.
blockMult

Multiplication of Block Diagonal Matrix and Vector
makeCholBlock

Computations for Block Diagonal Matrices
defaultList

Add Default Elements to Incomplete list
boxplot.estCVSTmodel

Boxplots for estCVSTmodel object
dropObservations

Drop Observations from a STmodel
est.mesa.model

Examples of estimateSTmodel Structure
crossDist

Computed the Euclidian Distance Matrix
SVDmiss

Missing Data SVD
SVDsmooth

Smooth Basis Functions for Data Matrix with Missing Values
predictNaive

Naive Temporal Predictions
makeSigmaB

Create Block Covariance Matrix (Equal Block Sizes)
print.summary.STdata

Print details for summary.STdata object
MCMC.STmodel

MCMC Inference of Parameters in the Spatio-Temporal Model
calc.FXtF2

Compute Quadratic Form Bewteen Temporal Trends and Sigma B
calcSmoothTrends

Smooth Basis Functions for a STdata Object
coef.estimateSTmodel

Returns estimated parameters (and uncertaintes)
calc.tFXF

Compute Quadratic Form Bewteen Temporal Trends and Sigma nu
simulate.STmodel

Simulate Data from the Spatio-Temporal Model
detrendSTdata

Removes Temporal Trend from Observations in a STdata Object
stCheckObs

Check an obs data.frame.
print.summary.estCVSTmodel

Print details for summary.estCVSTmodel object
est.cv.mesa

Example of estCVSTmodel and predCVSTmodel Structures
calc.tFX

Compute Matrix Product Bewteen Temporal Trends and a Matrix
computeLTA

Computes the Long Term Average for Each Sites.
estimateCV

Model cross-validation
print.STmodel

Print details for STmodel object
predict.STmodel

Computes Conditional Expectation at Unobserved Locations
print.predCVSTmodel

Print details for predCVSTmodel object
processLocation

Internal Function that Extracts Locations
summary.mcmcSTmodel

Computes summary details for mcmcSTmodel object
stCheckSTcovars

Check an Array/List of Spatio-Temporal Covariates
summary.STmodel

Computes summary details for STmodel object
summary.predCVSTmodel

Computes summary details for predCVSTmodel object