Learn R Programming

seqPERM (version 1.0)

sq.pe: Function that carries out generating the permutation matrix.

Description

Enter lower and upper bound of a sequence to generate a permuation matrix.

Usage

sq.pe(r1, r2, v)

Arguments

r1
lower bound of sequence
r2
upper bound of sequence
v
number of columns to generate

Value

A matrix.

Details

Use function to generate matrix.

References

none.

Examples

Run this code
#sq.pe(0,1,3)

Run the code above in your browser using DataLab