cal_mean | R Documentation |
Calculate the mean of the nearest N stations
cal_mean(id, dt, N = 5, BYcols = c("Year", "Month", "Day"), ...)
id |
The ID of the desired station |
dt |
A |
N |
A integer indicating how many stations to be used. |
BYcols |
A character vector of column names: e.g., |
... |
Other arguments passed to data.table. |
A data.table with missing value filled for the disired station.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.