nv2nv: transforms node[variable] characters into node and variable...

Description Usage Arguments Details Value Examples

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

Description

(ba) just removing possible square brackets to give back the node names (\$nod) and the variable names (\$var)

Usage

1
nv2nv(xx)

Arguments

xx

The character to transform

Details

In fact square brackets are the parentheses given by the constant rbsb.cpt["variables",].

Value

a list with two components

\$nod

The node names.

\$var

The variable names: ” when absent.

\$vva

The variable names but node name when absent.

Examples

1
2
 rbsb3k("RESET"); # needed only for R checking, to be forgotten
 nv2nv(c("A", "A[666]", "")); # list(nod=c("A", "A"), var=c("", "666", ""), vva=c("A", "666", "")

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