Learn R Programming

chopin (version 0.9.4)

datamod: Return the input's GIS data model type

Description

This function returns one of 'vector' or 'raster' depending on the input class.

Usage

datamod(input)

Value

character(1). One of "vector" or "raster".

Arguments

input

Spat*/sf/stars object.

Author

Insang Song

See Also

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