powered by
Handle specific regions of objects
# S3 method for data.frame wk_handle_slice(handleable, handler, from = NULL, to = NULL, ...)wk_handle_slice( handleable, handler = wk_writer(handleable), from = NULL, to = NULL, ... )# S3 method for default wk_handle_slice( handleable, handler = wk_writer(handleable), from = NULL, to = NULL, ... )
wk_handle_slice( handleable, handler = wk_writer(handleable), from = NULL, to = NULL, ... )
# S3 method for default wk_handle_slice( handleable, handler = wk_writer(handleable), from = NULL, to = NULL, ... )
A subset of handleable
handleable
A geometry vector (e.g., wkb(), wkt(), xy(), rct(), or sf::st_sfc()) for which wk_handle() is defined.
wkb()
wkt()
xy()
rct()
sf::st_sfc()
wk_handle()
A wk_handler object.
1-based index of the feature to start from
1-based index of the feature to end at
Passed to the wk_handle() method.
wk_handle_slice(xy(1:5, 1:5), wkt_writer(), from = 3, to = 5) wk_handle_slice( data.frame(let = letters[1:5], geom = xy(1:5, 1:5)), wkt_writer(), from = 3, to = 5 )
Run the code above in your browser using DataLab