[Distr-commits] r403 - in branches/distr-2.1/pkg/distr: R inst/doc man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Feb 20 11:35:10 CET 2009


Author: stamats
Date: 2009-02-20 11:35:10 +0100 (Fri, 20 Feb 2009)
New Revision: 403

Modified:
   branches/distr-2.1/pkg/distr/R/plot-methods.R
   branches/distr-2.1/pkg/distr/R/plot-methods_LebDec.R
   branches/distr-2.1/pkg/distr/inst/doc/newDistributions.pdf
   branches/distr-2.1/pkg/distr/man/plot-methods.Rd
Log:
a small documentation issue for plot methods ...

Modified: branches/distr-2.1/pkg/distr/R/plot-methods.R
===================================================================
--- branches/distr-2.1/pkg/distr/R/plot-methods.R	2009-02-19 21:56:44 UTC (rev 402)
+++ branches/distr-2.1/pkg/distr/R/plot-methods.R	2009-02-20 10:35:10 UTC (rev 403)
@@ -594,7 +594,7 @@
 # -------- DistributionList   ---------- #
 
 setMethod("plot", signature(x =  "DistrList", y = "missing"),
-    function(x,  ...){ 
+    function(x, ...){ 
         for(i in 1:length(x)){
             devNew()
             plot(x[[i]],...)

Modified: branches/distr-2.1/pkg/distr/R/plot-methods_LebDec.R
===================================================================
--- branches/distr-2.1/pkg/distr/R/plot-methods_LebDec.R	2009-02-19 21:56:44 UTC (rev 402)
+++ branches/distr-2.1/pkg/distr/R/plot-methods_LebDec.R	2009-02-20 10:35:10 UTC (rev 403)
@@ -467,8 +467,8 @@
    }
    )
 
-setMethod("plot", signature(x="CompoundDistribution", y = "missing"),
-           function(x,...) {
+setMethod("plot", signature(x = "CompoundDistribution", y = "missing"),
+           function(x, ...) {
            mc <- as.list(match.call(call = sys.call(sys.parent(1)), 
                             expand.dots = TRUE)[-1])
            do.call(getMethod("plot",signature(x = "UnivarLebDecDistribution", 

Modified: branches/distr-2.1/pkg/distr/inst/doc/newDistributions.pdf
===================================================================
(Binary files differ)

Modified: branches/distr-2.1/pkg/distr/man/plot-methods.Rd
===================================================================
--- branches/distr-2.1/pkg/distr/man/plot-methods.Rd	2009-02-19 21:56:44 UTC (rev 402)
+++ branches/distr-2.1/pkg/distr/man/plot-methods.Rd	2009-02-20 10:35:10 UTC (rev 403)
@@ -47,8 +47,8 @@
      col.inner = par("col.main"), col.sub = par("col.sub"),  cex.points = 2.0,
      pch.u = 21, pch.a = 16, mfColRow = TRUE,
      to.draw.arg = NULL)
-\S4method{plot}{DistrList,missing}(x, ...)
-\S4method{plot}{CompoundDistribution,missing}(x, ...)
+\S4method{plot}{DistrList,missing}(x, y, ...)
+\S4method{plot}{CompoundDistribution,missing}(x, y, ...)
 }
 \arguments{
   \item{x}{object of class 
@@ -137,7 +137,7 @@
 \item{plot}{\code{signature(x = "AffLinUnivarLebDecDistribution", y = "missing")}: plots  
    cumulative distribution function and the quantile function }
 \item{plot}{\code{signature(x = "UnivarLebDecDistribution", y = "missing")}: plots a set of
-  eight plots: in the first row,  it plots the 
+  eight plots: in the first row, it plots the 
    cumulative distribution function and the quantile function; in the second
    row the absolutely continuous part (with density, cdf and quantile fct.),
    and in the last row the discrete part (with prob.fct., cdf and quantile fct.). }
@@ -147,7 +147,8 @@
 \item{plot}{\code{signature(x = "AbscontDistribution", y = "missing")}: plots density, 
    cumulative distribution function and the quantile function }
 \item{plot}{\code{signature(x = "DiscreteDistribution", y = "missing")}: plots probability 
-function, cumulative distribution function and the quantile function}
+  function, cumulative distribution function and the quantile function}
+\item{plot}{\code{signature(x = "DistrList", y = "missing")}: plots a list of distributions}
 }
 Any parameters of \code{plot.default} may be passed on to this particular
 \code{plot} method. 



More information about the Distr-commits mailing list