[Distr-commits] r344 - in pkg: SweaveListingUtils/chm distr/R distr/chm distr/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Nov 21 15:39:04 CET 2008


Author: ruckdeschel
Date: 2008-11-21 15:39:04 +0100 (Fri, 21 Nov 2008)
New Revision: 344

Modified:
   pkg/SweaveListingUtils/chm/0SweaveListingUtils-package.html
   pkg/SweaveListingUtils/chm/SweaveListingUtils.chm
   pkg/distr/R/ContDistribution.R
   pkg/distr/R/DiscreteDistribution.R
   pkg/distr/R/UnivarLebDecDistribution.R
   pkg/distr/chm/00Index.html
   pkg/distr/chm/0distr-package.html
   pkg/distr/chm/ContDistribution-class.html
   pkg/distr/chm/DiscreteDistribution-class.html
   pkg/distr/chm/Distr.chm
   pkg/distr/chm/Distr.toc
   pkg/distr/chm/UnivarLebDecDistribution-class.html
   pkg/distr/chm/UnivariateDistribution-class.html
   pkg/distr/man/ContDistribution-class.Rd
   pkg/distr/man/DiscreteDistribution-class.Rd
   pkg/distr/man/UnivarLebDecDistribution-class.Rd
   pkg/distr/man/UnivariateDistribution-class.Rd
Log:
sqrt now dispatches correctly for Abscont and DiscreteDistribution.
check gives note that in internalUtils.R, in .expm.c there are
variables without binding; this is intentional; we use lexical
scoping here.

Modified: pkg/SweaveListingUtils/chm/0SweaveListingUtils-package.html
===================================================================
--- pkg/SweaveListingUtils/chm/0SweaveListingUtils-package.html	2008-11-21 14:01:20 UTC (rev 343)
+++ pkg/SweaveListingUtils/chm/0SweaveListingUtils-package.html	2008-11-21 14:39:04 UTC (rev 344)
@@ -33,20 +33,23 @@
   <td align="left">Package: </td>  <td align="left"> SweaveListingUtils</td>
 </tr>
 <tr>
-  <td align="left"> Version: </td>  <td align="left"> 0.1</td>
+  <td align="left"> Version: </td>  <td align="left"> 0.1.1</td>
 </tr>
 <tr>
-  <td align="left"> Date: </td>  <td align="left"> 2008-11-06</td>
+  <td align="left"> Date: </td>  <td align="left"> 2008-11-19</td>
 </tr>
 <tr>
-  <td align="left"> Depends: </td>  <td align="left"> R(&gt;= 2.7.0)</td>
+  <td align="left"> Depends: </td>  <td align="left"> R(&gt;= 2.0.0), startupmsg</td>
 </tr>
 <tr>
-  <td align="left"> </p> <p> LazyLoad: </td>  <td align="left"> yes</td>
+  <td align="left"> LazyLoad: </td>  <td align="left"> yes</td>
 </tr>
 <tr>
   <td align="left"> License: </td>  <td align="left"> LGPL-3</td>
 </tr>
+<tr>
+  <td align="left"> License: </td>  <td align="left"> LGPL-3</td>
+</tr>
 </table>
 
 <p>

Modified: pkg/SweaveListingUtils/chm/SweaveListingUtils.chm
===================================================================
(Binary files differ)

Modified: pkg/distr/R/ContDistribution.R
===================================================================
--- pkg/distr/R/ContDistribution.R	2008-11-21 14:01:20 UTC (rev 343)
+++ pkg/distr/R/ContDistribution.R	2008-11-21 14:39:04 UTC (rev 344)
@@ -497,4 +497,7 @@
                            .withSim = TRUE, .withArith = TRUE)
             object
           })
+setMethod("sqrt", "AbscontDistribution",
+            function(x) x^0.5)
+
 }

Modified: pkg/distr/R/DiscreteDistribution.R
===================================================================
--- pkg/distr/R/DiscreteDistribution.R	2008-11-21 14:01:20 UTC (rev 343)
+++ pkg/distr/R/DiscreteDistribution.R	2008-11-21 14:39:04 UTC (rev 344)
@@ -400,5 +400,8 @@
                            .withSim = TRUE, .withArith = TRUE)
             object
           })
+setMethod("sqrt", "DiscreteDistribution",
+            function(x) x^0.5)
+
 }          
 

Modified: pkg/distr/R/UnivarLebDecDistribution.R
===================================================================
--- pkg/distr/R/UnivarLebDecDistribution.R	2008-11-21 14:01:20 UTC (rev 343)
+++ pkg/distr/R/UnivarLebDecDistribution.R	2008-11-21 14:39:04 UTC (rev 344)
@@ -373,5 +373,7 @@
                      p(x)(getdistrOption("TruncQuantile"), lower=FALSE)))                     
           })
 
+setMethod("sqrt", "UnivarLebDecDistribution",
+            function(x) x^0.5)
 #######################
 

Modified: pkg/distr/chm/00Index.html
===================================================================
--- pkg/distr/chm/00Index.html	2008-11-21 14:01:20 UTC (rev 343)
+++ pkg/distr/chm/00Index.html	2008-11-21 14:39:04 UTC (rev 344)
@@ -1497,8 +1497,14 @@
 <td>Methods for Function size in Package &lsquo;distr&rsquo; </td></tr>
 <tr><td width="25%"><a href="size-methods.html">size&lt;--methods</a></td>
 <td>Methods for Function size in Package &lsquo;distr&rsquo; </td></tr>
+<tr><td width="25%"><a href="ContDistribution-class.html">sqrt,AbscontDistribution-method</a></td>
+<td>Class "AbscontDistribution"</td></tr>
 <tr><td width="25%"><a href="UnivarLebDecDistribution-class.html">sqrt,AcDcLcDistribution-method</a></td>
 <td>Class "UnivarLebDecDistribution"</td></tr>
+<tr><td width="25%"><a href="DiscreteDistribution-class.html">sqrt,DiscreteDistribution-method</a></td>
+<td>Class "DiscreteDistribution"</td></tr>
+<tr><td width="25%"><a href="UnivarLebDecDistribution-class.html">sqrt,UnivarLebDecDistribution-method</a></td>
+<td>Class "UnivarLebDecDistribution"</td></tr>
 <tr><td width="25%"><a href="standardMethods.html">standardMethods</a></td>
 <td>Utility to automatically generate accessor and replacement functions</td></tr>
 <tr><td width="25%"><a href="support-methods.html">support</a></td>

Modified: pkg/distr/chm/0distr-package.html
===================================================================
--- pkg/distr/chm/0distr-package.html	2008-11-21 14:01:20 UTC (rev 343)
+++ pkg/distr/chm/0distr-package.html	2008-11-21 14:39:04 UTC (rev 344)
@@ -64,19 +64,19 @@
   <td align="left">Package: </td>  <td align="left"> distr</td>
 </tr>
 <tr>
-  <td align="left"> Version: </td>  <td align="left"> 2.0.2 </td>
+  <td align="left"> Version: </td>  <td align="left"> 2.0.3</td>
 </tr>
 <tr>
-  <td align="left"> Date: </td>  <td align="left"> 2008-11-05 </td>
+  <td align="left"> Date: </td>  <td align="left"> 2008-11-21</td>
 </tr>
 <tr>
-  <td align="left"> Depends: </td>  <td align="left"> R(&gt;= 2.2.0), methods, graphics, startupmsg, sfsmisc</td>
+  <td align="left"> Depends: </td>  <td align="left"> R(&gt;= 2.2.0), methods, graphics, startupmsg, sfsmisc, SweaveListingUtils</td>
 </tr>
 <tr>
-  <td align="left"> Imports: </td>  <td align="left"> stats</td>
+  <td align="left"> LazyLoad: </td>  <td align="left"> yes</td>
 </tr>
 <tr>
-  <td align="left"> LazyLoad: </td>  <td align="left"> yes</td>
+  <td align="left"> License: </td>  <td align="left"> LGPL-3</td>
 </tr>
 <tr>
   <td align="left"> License: </td>  <td align="left"> LGPL-3</td>

Modified: pkg/distr/chm/ContDistribution-class.html
===================================================================
--- pkg/distr/chm/ContDistribution-class.html	2008-11-21 14:01:20 UTC (rev 343)
+++ pkg/distr/chm/ContDistribution-class.html	2008-11-21 14:39:04 UTC (rev 344)
@@ -8,6 +8,7 @@
 <param name="keyword" value="R:   AbscontDistribution-class">
 <param name="keyword" value="R:   AffLinDistribution-class">
 <param name="keyword" value="R:   AffLinAbscontDistribution-class">
+<param name="keyword" value="R:   sqrt,AbscontDistribution-method">
 <param name="keyword" value="R:   initialize,AbscontDistribution-method">
 <param name="keyword" value="R:   initialize,AffLinAbscontDistribution-method">
 <param name="keyword" value=" Class 'AbscontDistribution'">
@@ -75,6 +76,7 @@
 <code>abs</code>{<code>signature(x = "AbscontDistribution")</code>:  exact image distribution of <code>abs(x)</code>.}
 <code>exp</code>{<code>signature(x = "AbscontDistribution")</code>:  exact image distribution of <code>exp(x)</code>.}
 <code>sign</code>{<code>signature(x = "AbscontDistribution")</code>:  exact image distribution of <code>sign(x)</code>.}
+<code>sqrt</code>{<code>signature(x = "AbscontDistribution")</code>:  exact image distribution of <code>sqrt(x)</code>.}
 <code>log</code>{<code>signature(x = "AbscontDistribution")</code>:  (with optional further argument <code>base</code>, 
 defaulting to <code>exp(1)</code>) exact image distribution of <code>log(x)</code>.}
 <code>log10</code>{<code>signature(x = "AbscontDistribution")</code>:  exact image distribution of <code>log10(x)</code>.}
@@ -205,6 +207,6 @@
 
 
 
-<hr><div align="center">[Package <em>distr</em> version 2.0 <a href="00Index.html">Index]</a></div>
+<hr><div align="center">[Package <em>distr</em> version 2.0.3 <a href="00Index.html">Index]</a></div>
 
 </body></html>

Modified: pkg/distr/chm/DiscreteDistribution-class.html
===================================================================
--- pkg/distr/chm/DiscreteDistribution-class.html	2008-11-21 14:01:20 UTC (rev 343)
+++ pkg/distr/chm/DiscreteDistribution-class.html	2008-11-21 14:39:04 UTC (rev 344)
@@ -7,6 +7,7 @@
 <table width="100%"><tr><td>DiscreteDistribution-class(distr)</td><td align="right">R Documentation</td></tr></table><object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">
 <param name="keyword" value="R:   DiscreteDistribution-class">
 <param name="keyword" value="R:   AffLinDiscreteDistribution-class">
+<param name="keyword" value="R:   sqrt,DiscreteDistribution-method">
 <param name="keyword" value="R:   initialize,DiscreteDistribution-method">
 <param name="keyword" value="R:   initialize,AffLinDiscreteDistribution-method">
 <param name="keyword" value="R:   coerce,DiscreteDistribution,LatticeDistribution-method">
@@ -70,6 +71,7 @@
 <code>abs</code>{<code>signature(x = "DiscreteDistribution")</code>:  exact image distribution of <code>abs(x)</code>.}
 <code>exp</code>{<code>signature(x = "DiscreteDistribution")</code>:  exact image distribution of <code>exp(x)</code>.}
 <code>sign</code>{<code>signature(x = "DiscreteDistribution")</code>:  exact image distribution of <code>sign(x)</code>.}
+<code>sqrt</code>{<code>signature(x = "DiscreteDistribution")</code>:  exact image distribution of <code>sqrt(x)</code>.}
 <code>log</code>{<code>signature(x = "DiscreteDistribution")</code>:  (with optional further argument <code>base</code>, 
 defaulting to <code>exp(1)</code>) exact image distribution of <code>log(x)</code>.}
 <code>log10</code>{<code>signature(x = "DiscreteDistribution")</code>:  exact image distribution of <code>log10(x)</code>.}
@@ -212,6 +214,6 @@
 
 
 
-<hr><div align="center">[Package <em>distr</em> version 2.0.2 <a href="00Index.html">Index]</a></div>
+<hr><div align="center">[Package <em>distr</em> version 2.0.3 <a href="00Index.html">Index]</a></div>
 
 </body></html>

Modified: pkg/distr/chm/Distr.chm
===================================================================
(Binary files differ)

Modified: pkg/distr/chm/Distr.toc
===================================================================
--- pkg/distr/chm/Distr.toc	2008-11-21 14:01:20 UTC (rev 343)
+++ pkg/distr/chm/Distr.toc	2008-11-21 14:39:04 UTC (rev 344)
@@ -3098,10 +3098,22 @@
 <param name="Local" value="size-methods.html">
 </OBJECT>
 <LI> <OBJECT type="text/sitemap">
+<param name="Name" value="sqrt,AbscontDistribution-method">
+<param name="Local" value="ContDistribution-class.html">
+</OBJECT>
+<LI> <OBJECT type="text/sitemap">
 <param name="Name" value="sqrt,AcDcLcDistribution-method">
 <param name="Local" value="UnivarLebDecDistribution-class.html">
 </OBJECT>
 <LI> <OBJECT type="text/sitemap">
+<param name="Name" value="sqrt,DiscreteDistribution-method">
+<param name="Local" value="DiscreteDistribution-class.html">
+</OBJECT>
+<LI> <OBJECT type="text/sitemap">
+<param name="Name" value="sqrt,UnivarLebDecDistribution-method">
+<param name="Local" value="UnivarLebDecDistribution-class.html">
+</OBJECT>
+<LI> <OBJECT type="text/sitemap">
 <param name="Name" value="standardMethods">
 <param name="Local" value="standardMethods.html">
 </OBJECT>

Modified: pkg/distr/chm/UnivarLebDecDistribution-class.html
===================================================================
--- pkg/distr/chm/UnivarLebDecDistribution-class.html	2008-11-21 14:01:20 UTC (rev 343)
+++ pkg/distr/chm/UnivarLebDecDistribution-class.html	2008-11-21 14:39:04 UTC (rev 344)
@@ -68,6 +68,7 @@
 <param name="keyword" value="R:   exp,UnivarLebDecDistribution-method">
 <param name="keyword" value="R:   sign,UnivarLebDecDistribution-method">
 <param name="keyword" value="R:   sign,AcDcLcDistribution-method">
+<param name="keyword" value="R:   sqrt,UnivarLebDecDistribution-method">
 <param name="keyword" value="R:   sqrt,AcDcLcDistribution-method">
 <param name="keyword" value=" Class 'UnivarLebDecDistribution'">
 </object>

Modified: pkg/distr/chm/UnivariateDistribution-class.html
===================================================================
--- pkg/distr/chm/UnivariateDistribution-class.html	2008-11-21 14:01:20 UTC (rev 343)
+++ pkg/distr/chm/UnivariateDistribution-class.html	2008-11-21 14:39:04 UTC (rev 344)
@@ -151,6 +151,6 @@
 
 
 
-<hr><div align="center">[Package <em>distr</em> version 2.0 <a href="00Index.html">Index]</a></div>
+<hr><div align="center">[Package <em>distr</em> version 2.0.3 <a href="00Index.html">Index]</a></div>
 
 </body></html>

Modified: pkg/distr/man/ContDistribution-class.Rd
===================================================================
--- pkg/distr/man/ContDistribution-class.Rd	2008-11-21 14:01:20 UTC (rev 343)
+++ pkg/distr/man/ContDistribution-class.Rd	2008-11-21 14:39:04 UTC (rev 344)
@@ -3,6 +3,7 @@
 \alias{AbscontDistribution-class}
 \alias{AffLinDistribution-class}
 \alias{AffLinAbscontDistribution-class}
+\alias{sqrt,AbscontDistribution-method}
 \alias{initialize,AbscontDistribution-method}
 \alias{initialize,AffLinAbscontDistribution-method}
 
@@ -49,6 +50,7 @@
     \code{abs}{\code{signature(x = "AbscontDistribution")}:  exact image distribution of \code{abs(x)}.}
     \code{exp}{\code{signature(x = "AbscontDistribution")}:  exact image distribution of \code{exp(x)}.}
     \code{sign}{\code{signature(x = "AbscontDistribution")}:  exact image distribution of \code{sign(x)}.}
+    \code{sqrt}{\code{signature(x = "AbscontDistribution")}:  exact image distribution of \code{sqrt(x)}.}
     \code{log}{\code{signature(x = "AbscontDistribution")}:  (with optional further argument \code{base}, 
     defaulting to \code{exp(1)}) exact image distribution of \code{log(x)}.}
     \code{log10}{\code{signature(x = "AbscontDistribution")}:  exact image distribution of \code{log10(x)}.}

Modified: pkg/distr/man/DiscreteDistribution-class.Rd
===================================================================
--- pkg/distr/man/DiscreteDistribution-class.Rd	2008-11-21 14:01:20 UTC (rev 343)
+++ pkg/distr/man/DiscreteDistribution-class.Rd	2008-11-21 14:39:04 UTC (rev 344)
@@ -2,7 +2,8 @@
 \docType{class}
 \alias{DiscreteDistribution-class}
 \alias{AffLinDiscreteDistribution-class}
-\alias{initialize,DiscreteDistribution-method}
+\alias{sqrt,DiscreteDistribution-method}
+\alias{initialize,DiscreteDistribution-method}                                                       
 \alias{initialize,AffLinDiscreteDistribution-method}
 \alias{coerce,DiscreteDistribution,LatticeDistribution-method}
 
@@ -45,6 +46,7 @@
     \code{abs}{\code{signature(x = "DiscreteDistribution")}:  exact image distribution of \code{abs(x)}.}
     \code{exp}{\code{signature(x = "DiscreteDistribution")}:  exact image distribution of \code{exp(x)}.}
     \code{sign}{\code{signature(x = "DiscreteDistribution")}:  exact image distribution of \code{sign(x)}.}
+    \code{sqrt}{\code{signature(x = "DiscreteDistribution")}:  exact image distribution of \code{sqrt(x)}.}
     \code{log}{\code{signature(x = "DiscreteDistribution")}:  (with optional further argument \code{base}, 
     defaulting to \code{exp(1)}) exact image distribution of \code{log(x)}.}
     \code{log10}{\code{signature(x = "DiscreteDistribution")}:  exact image distribution of \code{log10(x)}.}

Modified: pkg/distr/man/UnivarLebDecDistribution-class.Rd
===================================================================
--- pkg/distr/man/UnivarLebDecDistribution-class.Rd	2008-11-21 14:01:20 UTC (rev 343)
+++ pkg/distr/man/UnivarLebDecDistribution-class.Rd	2008-11-21 14:39:04 UTC (rev 344)
@@ -63,6 +63,7 @@
 \alias{exp,UnivarLebDecDistribution-method}
 \alias{sign,UnivarLebDecDistribution-method}
 \alias{sign,AcDcLcDistribution-method}
+\alias{sqrt,UnivarLebDecDistribution-method}
 \alias{sqrt,AcDcLcDistribution-method}
 
 \title{Class "UnivarLebDecDistribution"}

Modified: pkg/distr/man/UnivariateDistribution-class.Rd
===================================================================
--- pkg/distr/man/UnivariateDistribution-class.Rd	2008-11-21 14:01:20 UTC (rev 343)
+++ pkg/distr/man/UnivariateDistribution-class.Rd	2008-11-21 14:39:04 UTC (rev 344)
@@ -85,6 +85,7 @@
     \item{show}{\code{signature(object = "UnivariateDistribution")}:
 
       as print}
+      }
   }
 }
 



More information about the Distr-commits mailing list