Description Usage Arguments Value
View source: R/ppSpaceTimeLarge.R
Spatio-temporal point process model using INLA designed for data that are composed of many occurrences. This function is essentially a sophisticated wrapper over inla
1 2 3 4 5 6 7 8 9 10 11 12 | ppSpaceTimeLarge(
formula,
y,
ppWeight,
explanaMesh,
meshTime,
smooth = 2,
prior.range = c(0.05, 0.01),
prior.sigma = c(1, 0.01),
prior.pccor = c(0.7, 0.7),
...
)
|
formula |
A formula that only relates the response |
y |
A 3-columns matrix defining the x and y coordinates of where a species was found and the last column represents the time (generally in days of the year) when a species was found. |
ppWeight |
An object of class |
explanaMesh |
An object of class |
meshTime |
An object of class |
smooth |
A single value ranging between 0 and 2 passed to |
prior.range |
A vector of length 2, with (range0, Prange) specifying that P(ρ < ρ_0) = p_ρ, where ρ is the spatial range of the random field. If Prange is NA, then range0 is used as a fixed range value. Default is c(0.05, 0.01). |
prior.sigma |
A vector of length 2, with (sigma0, Psigma) specifying that P(σ > σ_0) = p_σ, where σ is the marginal standard deviation of the field. If Psigma is NA, then sigma0 is used as a fixed range value. Default is c(1, 0.01). |
prior.pccor |
A vector of length 2, with (cor, Pcor) specifying that P(cor > cor_0) = p_cor, where cor is the temporal autocorrelation. Default is c(0.7, 0.7). |
... |
Arguments passed to |
sPoly |
A |
A list including an inla
object, aninla.stack
object, an inla.mesh.2d
object for the spatial component of the model and an inla.mesh.1d
object for the temporal component of the model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.