Vector_conversion: Convert the input vector object into simple features if it's...

View source: R/supportFunc.R

Vector_conversionR Documentation

Convert the input vector object into simple features if it's provided as a Spatial object

Description

This function tests whether the supplied vector input is a simple features (sf) object, if not, the object is converted using the st_as-sf() function.

Usage

Vector_conversion(x)

Arguments

x

The input provided by the user for the x argument.

Value

the converted simple features object


fgashakamba/hypsoLoop documentation built on Nov. 13, 2022, 8:17 a.m.