get_var: Get variable name

Description Usage Arguments Details Value Examples

View source: R/syn2.R

Description

Get variable name

Usage

1

Arguments

x

a vector of character strings

Details

if x is "aa.xoijj_a_1_f_1" returns "aa.xoijj"

Value

a vector of character strings

Examples

1
2
3
4
5
6
get_var("aa.x_1_2_3_4")
data(TtableA)
unique(get_var(names(TtableA)))
#Second example: no transposing variables
TK<-Tsampledata(FALSE)
unique(get_var(TK$variables))

DanielBonnery/BigSyn documentation built on June 28, 2020, 7:18 p.m.