filterNA | R Documentation |
Removes the dates for all grid points whenever there exists missing values (i.e., NaN or NA).
filterNA(grid)
grid |
The input grid to be filtered. |
The function also takes care of adjusting dates and other relevant metadata (via the internal subsetDimension
).
A new grid object without missing values
J. Bano-Medina, J. Bedia
Other downscaling.helpers:
convert2bin()
,
makeMultiGrid()
require(climate4R.datasets)
data("VALUE_Iberia_pr")
# Check if the dataset contains missing values (YES):
anyNA(VALUE_Iberia_pr$Data)
getShape(VALUE_Iberia_pr)
na.filtered <- filterNA(VALUE_Iberia_pr)
# Check if the dataset contains missing values (NO):
anyNA(na.filtered$Data)
getShape(na.filtered)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.