Learn R Programming

Tex4exams (version 0.1.2)

cycledisplay: Display the cycle notation of the permutation

Description

Display the cycle notation of the permutation using the output matrix of the function permucycle().

Usage

cycledisplay(x)

Value

A cycle notation of a permutation.

Arguments

x

output matrix of the function 'permucycle'.

See Also

permucycle, permuorder

Examples

Run this code
cycledisplay(permucycle(c(3,2,1)))
paste0(cycledisplay(permucycle(c(3,2,1))),collapse ="")


Run the code above in your browser using DataLab