spatio_fuse: sort sites by geometry polygon

Description Usage Value Examples

View source: R/spatio_fuse.R

Description

matching the site from data_stN to the by polygon in target_stN

Usage

1
2
spatio_fuse(target_stN = NULL, data_stN = NULL, parm_nm = "parm_xxx",
  crs = 4326)

Value

a dataframe

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(weather_tmin_sf)
data(corn_yield_sf)
corn_yield_st <- corn_yield_sf
weather_tmin_st <- weather_tmin_sf
tictoc::tic()
target_data_t <- spatio_fuse(target_stN = corn_yield_st,
                             data_stN = weather_tmin_st,
                             parm_nm = "tmin",
                             crs = 2163); target_data_t
tictoc::toc()

WeiquanLuo/stNet documentation built on Nov. 24, 2019, 5:11 p.m.