eggs_hotspots_week.Rd
this function predicts the number of eggs using a geostatistical analysis with INLA & calculates the hotspots of the eggs
eggs_hotspots_week(
cve_mpo,
cve_edo,
locality,
hist_dataset,
year,
integration_strategy,
aproximation_method,
fam_distribution,
path_vect,
path_coord,
palette.viridis,
plot,
cell.size,
alpha.value,
kvalue
)
is the text id of the municipality.
is the text id of the state.
locality is the locality target.
is a logical value for define the dataset, if TRUE is the ovitraps historical dataset and we neen define the year to analyze.
is the year to analyze.
is the integration strategy. The options are "grid", "eb" & "ccd"
aproximation is the aproximation of the joint posterior of the marginals and hyperparameter. The options are "gaussian", "simplified.laplace" & "laplace"
is the name of the family of the distribution for modelling count data. The option can be poisson, zeroinflatedpoisson0, zeroinflatedpoisson1, nbinomial, zeroinflatednbinomial0 and zeroinflatednbinomial1.
is the directory of the ovitrampas dataset.
is the directory of the coordinates dataset.
is the palette of viridis. The options are plasma, viridis, inferno & magma.
is a logical value for the plot the mesh.
is the sample number per location for predictions.
alpha The significance level, also denoted as alpha or α, is the probability of rejecting the null hypothesis when it is true.
is the parameter for define the triagulization of delauney in the inner and the outer area in the argument max.edge in the INLA:inla.mesh.2d.
a list of two object (a df of betas & a list of spde of each week)
1+1
#> [1] 2