From 6d220f8d71564a0430473ab2465e169adddb02d8 Mon Sep 17 00:00:00 2001 From: ranke Date: Fri, 28 Apr 2006 11:42:14 +0000 Subject: - Fixed the drplot function, so the graphics parameter ask is adequately set depending on the overlay argument, and set back to the previous value - Added a test for each datase - Added a demo for each dataset - Corrected many small bugs in the documentation and improved formatting of the .Rd files git-svn-id: http://kriemhild.uft.uni-bremen.de/svn/drfit@74 d1b72e20-2ee0-0310-a1c4-ad5adbbefcdc --- man/drplot.Rd | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) (limited to 'man/drplot.Rd') diff --git a/man/drplot.Rd b/man/drplot.Rd index f8f8aa8..bff2388 100644 --- a/man/drplot.Rd +++ b/man/drplot.Rd @@ -49,9 +49,7 @@ } \item{overlay}{ If TRUE, all output will be put into one graph, otherwise a separate graph - will be created for each substance. In the latter case, on-screen display - (postscript=FALSE) only works correctly for data plots. Dose-response models - will all be put into the last graph in this case. + will be created for each substance. } \item{xlim}{ The plot limits (min,max) on the dose axis. @@ -66,7 +64,7 @@ } \item{pdf}{ If TRUE, (a) pdf graph(s) will be created. Otherwise, and if - the postscript and png arguments are also FALSE, graphics will be + the postscript, and png arguments are also FALSE, graphics will be displayed with a screen graphics device. } \item{png}{ @@ -79,7 +77,7 @@ is TRUE. } \item{pointsize}{ - The pointsize used for png and postscript graphics. + The pointsize used for pdf, png and postscript graphics. } \item{colors}{ This is a vector of colors, defaulting to 1:8, used for plotting the data. @@ -89,26 +87,24 @@ of the legend by being passed to the legend function. See the help for the legend function for all possiblities.} \item{devoff}{ - If set to FALSE, the closing of the device after creation of an overlay png - or postscript graph will be left out, so texts and other elements can be - added to the graph. + If set to FALSE, the device will not be closed after creation of an overlay + pdf, png or postscript graph, so texts and other elements can + be added. } } \value{ \item{results}{ You will get plots of data and/or the fitted dose-response curves, on the - screen and/or as postscript files, depending on the parameters. + screen and/or as postscript/pdf/png files, depending on the parameters. } } -\note{ - Be sure all devices are closed (e.g. by calling \code{dev.off()}) before - calling \code{drplot} again after a failure. -} \examples{ data(antifoul) r <- drfit(antifoul) \dontrun{drplot(r,antifoul)} } +\note{There is a demo for each dataset that can be accessed by + \code{demo(dataset)}} \author{ Johannes Ranke \email{jranke@uni-bremen.de} -- cgit v1.2.1