evaluation.file {UCS} | R Documentation |
The evaluation.plot
function is often invoked twice with the
same parameter settings, once for on-screen display, and once for
saving the plot to a PostScript file. evaluation.file
automates this process, automatically switching between colour mode
for the screen version and B/W mode for the PostScript version.
evaluation.file(ds, keys, file, bw=NULL, ...)
ds |
a UCS data set object (passed to evaluation.plot ) |
keys |
a character vector specifying the names of association
measures to be evaluated (passed to evaluation.plot ) |
file |
a character string giving the name of a file to which the PostScript version of the plot will be saved |
bw |
if TRUE , both versions will be in B/W; if
FALSE , both versions will be in colour. If unspecified,
evaluation.file switches automatically from colour mode (for
the screen version) to B/W mode (for the PostScript file), which is
the most common use. |
PostScript versions can be suppressed by setting
ucs.par(do.file=FALSE)In this case,
evaluation.file
will only draw the screen
versions of the graphs, which is convenient when experimenting and
while fine-tuning the plots.
evaluation.plot
, ucs.par
, and the tutorial
script ‘tutorial.R’ in the ‘script/’ directory.