parents8alk: finds the parents at the variable level of an /alk/

Description Usage Arguments Details Value Examples

Description

(ba) finds the variable parents of alk with respect to nom.

Usage

1
parents8alk(alk, nom, of="v")

Arguments

alk

alk object

nom

/nom/ of the supposed /bn/ where the alk will be inserted.

of

indicates at wich level the parents must be described: 'v' at the variable level and 'n' at the node level.

Details

The finding of the parents is done by analyzing the different fields of the /alk/. This is a basic function, no check is performed.

Value

the names of the /alk/ parents alk at the variable or node level.

Examples

1
2
3
4
 rebastaba3k("RESET"); # needed only for R checking, to be forgotten
 parents8alk(rebastaba.alk2, rbsb.nom2);
 parents8alk(rebastaba.alk2, rbsb.nom2, of="n");
 parents8alk(rebastaba.alk3, rbsb.nom3);

rebastaba documentation built on May 2, 2019, 5:24 p.m.