sort8ion: sorts a 'ion' object

Description Usage Arguments Details Value Examples

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

Description

(ba) sorts a 'ion' object possibly eliminating the redundancies

Usage

1
sort8ion(ion, nom, sort="n", rm.redun=TRUE)

Arguments

ion

The 'ion' to be sorted.

nom

associated 'nom' structure to perform the sorting.

sort

the way to make the sorting 'n': according to 'nom' 'a'; according to the alphabet.

rm.redun

Must the redundancies be removed?

Details

The algorithm does note take care of rbsb.who, changing it implies changing this algorithm...

Value

The sorted [reduced] 'ion'

Examples

1
2
3
4
5
 rbsb3k("RESET"); # needed only for R checking, to be forgotten
 uu <- rbsb.nom2;
 vv <- nv2ion(0, uu);
 print(sort8ion(vv, uu));
 print(sort8ion(vv, uu, "a"));

rbsb documentation built on May 2, 2019, 4:41 p.m.

Related to sort8ion in rbsb...