[Distr-commits] r450 - in pkg/distrEx: R man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Apr 7 07:22:22 CEST 2009


Author: stamats
Date: 2009-04-07 07:22:22 +0200 (Tue, 07 Apr 2009)
New Revision: 450

Modified:
   pkg/distrEx/R/Expectation.R
   pkg/distrEx/man/E.Rd
Log:
minor documentation issues ...

Modified: pkg/distrEx/R/Expectation.R
===================================================================
--- pkg/distrEx/R/Expectation.R	2009-04-07 04:59:35 UTC (rev 449)
+++ pkg/distrEx/R/Expectation.R	2009-04-07 05:22:22 UTC (rev 450)
@@ -295,7 +295,7 @@
                          fun = "function", 
                          cond = "numeric"),
     function(object, fun, cond, withCond = FALSE, useApply = TRUE, 
-             Nsim = getdistrExOption("MCIterations"), ...){
+             low = NULL, upp = NULL, Nsim = getdistrExOption("MCIterations"), ...){
         xsim <- r(object)(Nsim, cond)
         if(is.null(low)) low <- -Inf
         if(is.null(upp)) upp <- Inf

Modified: pkg/distrEx/man/E.Rd
===================================================================
--- pkg/distrEx/man/E.Rd	2009-04-07 04:59:35 UTC (rev 449)
+++ pkg/distrEx/man/E.Rd	2009-04-07 05:22:22 UTC (rev 450)
@@ -85,7 +85,7 @@
 \S4method{E}{MultivariateDistribution,function,missing}(object, fun, useApply = TRUE, 
              Nsim = getdistrExOption("MCIterations"), ...)
 
-\S4method{E}{DiscreteMVDistribution,missing,missing}(object, useApply = TRUE, ...)
+\S4method{E}{DiscreteMVDistribution,missing,missing}(object, low = NULL, upp = NULL, ...)
 
 \S4method{E}{DiscreteMVDistribution,function,missing}(object, fun, 
              useApply = TRUE, ...)
@@ -95,10 +95,10 @@
              rel.tol= getdistrExOption("ErelativeTolerance"), 
              lowerTruncQuantile = getdistrExOption("ElowerTruncQuantile"), 
              upperTruncQuantile = getdistrExOption("EupperTruncQuantile"), 
-             IQR.fac = getdistrExOption("IQR.fac"), low = NULL, upp = NULL, ...)
+             IQR.fac = getdistrExOption("IQR.fac"), ...)
 
 \S4method{E}{DiscreteCondDistribution,missing,numeric}(object, cond, useApply = TRUE,
-             low, upp)
+             low = NULL, upp = NULL)
 
 \S4method{E}{UnivariateCondDistribution,function,numeric}(object, fun, cond, 
               withCond = FALSE, useApply = TRUE, low = NULL, upp = NULL,



More information about the Distr-commits mailing list