getlet: Get letters of a freegroup object

getletR Documentation

Get letters of a freegroup object

Description

Get the symbols in a freegroup object

Usage

getlet(x)

Arguments

x

Object of class free

Note

By default, return a list with elements corresponding to the elements of x. But, if object x is of length 1, a vector is returned. The result is sorted for convenience.

Author(s)

Robin K. S. Hankin

Examples


(x <- rfree(6,7,3))

getlet(x)

as.free(getlet(x))  

identical(as.free(getlet(abc(1:26))), abc(1:26))


RobinHankin/freegroup documentation built on March 11, 2024, 12:32 a.m.