nv2var: returns the variable name from a node[variable] name

Description Usage Arguments Details Value Examples

View source: R/f1.rbsb2.code.r

Description

Just removing the node name and square brackets. nvn can be a vector. In case there is no variable name, the standard "" is returned

Usage

1
nv2var(nvn)

Arguments

nvn

character of the complete variable name

Details

Variable name can be numeric and is returned as such

Value

variable name without node name

Examples

1
2
 rbsb3k("RESET"); # needed only for R checking, to be forgotten
 nv2var(c("A[5]", "B"));

rbsb documentation built on May 31, 2017, 1:45 a.m.