valueIndex | R Documentation |
VALUE measure calculation for climate4R grids
valueIndex(
grid = NULL,
index.code = NULL,
return.NApercentage = TRUE,
parallel = FALSE,
max.ncores = 16,
condition = NULL,
threshold = NULL,
which.wetdays = NULL,
ncores = NULL
)
grid |
Grid (also station data) of observations |
index.code |
Character of the index code to be computed (use VALUE::show.indices). |
return.NApercentage |
Logical to also return or not a grid containing NA percentage information. |
parallel |
Logical. Should parallel execution be used? |
max.ncores |
Integer. Upper bound for user-defined number of cores. |
condition |
Inequality operator to be applied to the given |
threshold |
Numeric value. Threshold used as reference for the condition. Default is NULL. If a threshold value is supplied with no specificaction of the argument |
which.wetdays |
A string, default to NULL. Infer the measure/index taking into account only the wet days of the temporal serie. In this case, set which.wetdays = "Independent". |
ncores |
Integer number of cores used in parallel computation. Self-selected number of
cores is used when |
A grid of the index or a list containing the grid of the index and the grid of NA percenatage
M. Iturbide
M. N. Legasa
library(transformeR)
require(climate4R.datasets)
data(EOBS_Iberia_tas)
y <- EOBS_Iberia_tas
m <- valueIndex(y, "mean")
str(m$Index)
str(m$NApercentage)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.