Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

create_alias

Generates a syntactically-correct R name based on a SAGA-GIS identifier


Description

SAGA-GIS identifiers sometimes cannot represent syntactically-correct names in R because they start with numbers or have spaces. They are also all in uppercase which is ugly to refer to in code. This function creates an alternative/alias identifier.

Usage

create_alias(identifier)

Arguments

identifier

A character with the identifier.

Value

A character with a syntactically-correct alias.


Rsagacmd

Linking R with the Open-Source 'SAGA-GIS' Software

v0.1.0
GPL-3
Authors
Steven Pawley [aut, cre]
Initial release
2021-01-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.