[Distr-commits] r294 - in branches/distr-2.1/pkg/distrEx: R man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Oct 10 14:25:41 CEST 2008


Author: stamats
Date: 2008-10-10 14:25:41 +0200 (Fri, 10 Oct 2008)
New Revision: 294

Modified:
   branches/distr-2.1/pkg/distrEx/R/AllPlot.R
   branches/distr-2.1/pkg/distrEx/man/plot-methods.Rd
Log:
minor changes, now checks and installs without any warnings and errors under R 2.7.2, R 2.8.0 and R 2.9.0 (except some false positives)

Modified: branches/distr-2.1/pkg/distrEx/R/AllPlot.R
===================================================================
--- branches/distr-2.1/pkg/distrEx/R/AllPlot.R	2008-10-10 12:24:41 UTC (rev 293)
+++ branches/distr-2.1/pkg/distrEx/R/AllPlot.R	2008-10-10 12:25:41 UTC (rev 294)
@@ -1,12 +1,12 @@
 # plot
 setMethod("plot", signature(x="MultivariateDistribution",y="missing"), 
-    function(x,y=NULL,...){ 
+    function(x, y,...){ 
         warning("'plot' not yet implemented for objects",
                 " of class ", class(x))
     })
 
 setMethod("plot", signature(x="UnivariateCondDistribution",y="missing"), 
-    function(x,y=NULL,...){ 
+    function(x, y,...){ 
         warning("'plot' not yet implemented for objects",
                 " of class ", class(x))
     })

Modified: branches/distr-2.1/pkg/distrEx/man/plot-methods.Rd
===================================================================
--- branches/distr-2.1/pkg/distrEx/man/plot-methods.Rd	2008-10-10 12:24:41 UTC (rev 293)
+++ branches/distr-2.1/pkg/distrEx/man/plot-methods.Rd	2008-10-10 12:25:41 UTC (rev 294)
@@ -6,15 +6,16 @@
 \alias{plot,MultivariateDistribution,missing-method}
 \title{ Methods for Function plot in Package `distrEx' }
 \description{plot-methods}
-\usage{plot(x, ...)
-\S4method{plot}{UnivariateCondDistribution,missing}(x, ...)
-\S4method{plot}{MultivariateDistribution,missing}(x, ...)
+\usage{plot(x, y, ...)
+\S4method{plot}{UnivariateCondDistribution,missing}(x, y, ...)
+\S4method{plot}{MultivariateDistribution,missing}(x, y, ...)
 }
 \arguments{
   \item{x}{object of class 
             \code{"UnivariateCondDistribution"} or class
             \code{"MultivariateDistribution"}: 
             distribution(s) which should be plotted }
+  \item{y}{ missing }
   \item{\dots}{addtional arguments }
 }
 \details{



More information about the Distr-commits mailing list