Del_spe_col: Erase special characters from STICS outputs or observations

View source: R/Del_spe_col.R

Del_spe_colR Documentation

Erase special characters from STICS outputs or observations

Description

Helper function to replace the first parenthesis by a "_" and erase the second. For exemple, lai(n) becomes lai_n.

Usage

Del_spe_col(x)

Arguments

x

A data.frame

Value

A data.frame with R-ready column names.

Examples

## Not run: 
library(sticRs) ; library(data.table)
a= data.table(`lai(n)`= c(1:8))
Del_spe_col(a)

## End(Not run)

VEZY/sticRs documentation built on Oct. 26, 2023, 7:37 a.m.