nv2nod: transforms complete variable names into node names

Description Usage Arguments Details Value Examples

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

Description

No ckeck is made about the existence of the node names

Usage

1
nv2nod(vvn)

Arguments

vvn

vector of variable names

Details

the syntax analysis is minimal, looking for a square bracket and eliminating evething from that point !

Value

vector of deduced node names

Examples

1
2
3
 rbsb3k("RESET"); # needed only for R checking, to be forgotten
 nv2nod("aa"); # "aa" is returned
 nv2nod(c("a[e]", "az[ee]", "b")); # c("a", "az", "b") is returned

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