order_seq: Sort cross-over design sequences

Description Usage Arguments Details Value Author(s) See Also

View source: R/order_seq.R

Description

Sorts a set of cross-over design sequences in to a canonical order.

Usage

1
order_seq(sequences, summary = T)

Arguments

sequences

An object of class xover_seq; a set of cross-over design sequences.

summary

A logical variable indicating whether a summary of the function's progress should be printed to the console. Defaults to T.

Details

Accepts an object of class xover_seq (see sequences), for which it will then sort the sequences in to a canonical order (i.e., alphabetical or lexographical as appropriate).

When comparing cross-over designs with a larger number of sequences or periods this ordering eases the ability to check whether two sequences are equal.

Value

An object of class xover_seq, with canonically ordered sequences.

Author(s)

Based on code from the Crossover package by Kornelius Rohmeyer.

See Also

The seq_#() functions within xover.


mjg211/xover documentation built on Oct. 16, 2019, 10:46 a.m.