compare8nom: compares two /nom/s

Description Usage Arguments Value Examples

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

Description

compares two /nom/s either at the node or at the variable level.

Usage

1
compare8nom(noma, nomb, level="v")

Arguments

noma

The first nom to be compared.

nomb

The second nom to be compared.

level

'v' or 'n' to indicate if the comparaison must be made at the 'variable' or 'node' level.

Value

A list of three /nom/ named $a_b, $b_a and $a.b giving the respectively the set differences and the intersection of the choosen items.

Examples

1
2
3
4
 rbsb3k("RESET"); # needed only for R checking, to be forgotten
 compare8nom(rbsb.nom2, rbsb.nom3);
 compare8nom(rbsb.nom2, rbsb.nom3, "n");
 compare8nom(rbsb.nom5, rbsb.nom3);

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