char2nom: transforms a character into a 'nom' object

Description Usage Arguments Details Value Examples

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

Description

returns a /nom/ whose names/variables comes from nova. Repetitions are possible and eliminated.

Usage

1
char2nom(nova)

Arguments

nova

character.

Details

nodes and variables/nodes are sorted.

Value

a 'nom' object with nodes possibly comprising covariables

Examples

1
2
3
 rbsb3k("RESET"); # needed only for R checking, to be forgotten
 print.default(char2nom(LETTERS[1:4]));
 print(char2nom(c("C[b]", "A", "B[one]", "C[b]", "C[a]", "B[two]")));

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