dep_switch: Switch spatial data class

View source: R/check.R

dep_switchR Documentation

Switch spatial data class

Description

Convert class between sf/stars-terra

Usage

dep_switch(input)

Arguments

input

Spat* in terra or sf object.

Value

Data converted to the other package class (if sf, terra; if terra, sf)

Author(s)

Insang Song

See Also

Other Helper functions: datamod(), dep_check(), get_clip_ext(), par_def_q(), reproject_std(), reproject_to_raster()


chopin documentation built on Sept. 10, 2025, 5:08 p.m.