Print out a Worksheet for an Experimental Design

DESCRIPTION:
Prints out a worksheet of a designed experiment, with blank columns for the responses.

USAGE:
worksheet(df, responses, graphics = F,
          npages = ceiling(nrow(df)/32), ...)

REQUIRED ARGUMENTS:
df:
a data frame, or an object that inherits from data.frame.

OPTIONAL ARGUMENTS:
responses:
an integer, giving number of responses, or vector of response names.
graphics:
logical value indicating whether to print the form using a graphics device. The default uses lpr on UNIX or objprint on windows. The output from the graphics device is often more attractive than that sent directly to the printer.
npages:
integer for number of pages used when graphics = TRUE. Gives control over font size used in graphics window.

SIDE EFFECTS:
A design is printed using lpr on UNIX, objprint on Windows, or a text layout appears on the current graphics device.

DETAILS:
This function is often used in conjunction with randomize.design to print a design for collecting experimental data.

SEE ALSO:
design.digest , lpr , objprint , randomize.design .

EXAMPLES:
a.design <- design.digest('ff0308')

# sends the results to the printer worksheet(a.design, responses = c('yield','purity')) worksheet(a.design, graphic = T) # uses the graphics device