Description Usage Arguments Value
View source: R/spatial_neighbors.R
Selecting neighbors for each test station according to geographical distance, correlation, Earth mover's distance.
1 2 3 4 5 6 7 | spatial_neighbors(
test.station.windspeed,
official.station.windspeed,
test.station.info,
official.station.info,
emd_radius = 1
)
|
test.station.windspeed |
a data.frame that includes observation data of all test stations. |
official.station.windspeed |
a data.frame that includes observation data of official stations. |
test.station.info |
a tbl_df that includes 'station_id', 'longitude', 'latitude' of test stations,
corresponding to their column number in |
official.station.info |
a tbl_df that includes 'location', 'longitude', 'latitude' of official
stations, corresponding to their column number in |
emd_radius |
the maximum radius of Earth mover's distance, setting 1 as default. |
a large list, each element is a data.frame that contains information of selected neighbors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.