Description Usage Arguments Value
This function takes in an array with indices [lon, lat, time] and with dimnames giving the values and converts the array to a data.table.
1 |
array |
the array to be converted to a tidy data.table |
returns a data.table with columns date, lon, lat, and prcp_mm.
The prcp_mm colum will have NA values, corresponding to areas over ocean.
These can be easily eliminated with na.omit()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.