Sort a Design Frame

DESCRIPTION:
Reorders a design frame to standard order.

USAGE:
sort.design(design)

REQUIRED ARGUMENTS:
design:
A data frame.

VALUE:
design is returned with the rows reordered.

DETAILS:
If the design has been randomized by randomize.design, the sorting simply undoes the randomization, using the "order" attribute of design. Otherwise, the design is put in reverse Yates order by std.order.

SEE ALSO:
randomize.design , std.order , design.digest .

EXAMPLES:
rate <- c(1.29, 7.04, 1.22, 1.68, 8.78, 7.21, 1.55,
      2.34, 9.81, 9.96, 1.36, 6.90, 1.81, 1.73, 8.42, 7.92)
buffer.rdf <- cbind(buffer.rdes, rate) #buffer.rdes created by
                                       #randomize.design, see its help file
buffer.sdf <- sort.design(buffer.rdf)