R/extract_synced.R

#' extract_synced
#' @param x TODO
#' @param y TODO
#' @param ... TODO
#' @export

extract_synced=function(x,y,...)
{
	require("raster")
	y_synced=spatial_sync_vector(y,x,verbose=FALSE)
	return(raster::extract(x,y_synced,...))
}

Try the STARStools package in your browser

Any scripts or data that you put into this service are public.

STARStools documentation built on May 2, 2019, 6:48 p.m.