Del_spe_col: Erase special characters from STICS outputs or observations

Description Usage Arguments Value Examples

View source: R/Del_spe_col.R

Description

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

Usage

1

Arguments

x

A data.frame

Value

A data.frame with R-ready column names.

Examples

1
2
3
4
5
6
## 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. 1, 2018, 1:06 p.m.