[Distr-commits] r407 - in branches/distr-2.1/pkg/distr: R chm inst/doc

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Feb 27 20:18:26 CET 2009


Author: ruckdeschel
Date: 2009-02-27 20:18:25 +0100 (Fri, 27 Feb 2009)
New Revision: 407

Modified:
   branches/distr-2.1/pkg/distr/R/AllInitialize.R
   branches/distr-2.1/pkg/distr/R/DiscreteDistribution.R
   branches/distr-2.1/pkg/distr/chm/Distr.chm
   branches/distr-2.1/pkg/distr/inst/doc/Rplots.pdf
   branches/distr-2.1/pkg/distr/inst/doc/newDistributions.pdf
Log:
two little nasty buglets in the last modification ...
 -getdistrOption(".DistrCollapse.Unique.Warn")
 check for distrResolution in initialize is skipped now.

Modified: branches/distr-2.1/pkg/distr/R/AllInitialize.R
===================================================================
--- branches/distr-2.1/pkg/distr/R/AllInitialize.R	2009-02-27 18:49:27 UTC (rev 406)
+++ branches/distr-2.1/pkg/distr/R/AllInitialize.R	2009-02-27 19:18:25 UTC (rev 407)
@@ -171,13 +171,13 @@
             
             else .Object at support <- support
 
-            len = length(support)
+#           len = length(support)
+#
+#            if(len > 1){
+#              if(min(diff(support)) < getdistrOption("DistrResolution"))
+#                 stop("grid too narrow --> change DistrResolution")
+#            }
 
-            if(len > 1){
-              if(diff(support) < getdistrOption("DistrResolution"))
-                 stop("grid too narrow --> change DistrResolution")
-            }
-
             dpq.approx <- 0
 
             dfun <- d

Modified: branches/distr-2.1/pkg/distr/R/DiscreteDistribution.R
===================================================================
--- branches/distr-2.1/pkg/distr/R/DiscreteDistribution.R	2009-02-27 18:49:27 UTC (rev 406)
+++ branches/distr-2.1/pkg/distr/R/DiscreteDistribution.R	2009-02-27 19:18:25 UTC (rev 407)
@@ -9,7 +9,7 @@
      .DistrCollapse = 
                   getdistrOption("DistrCollapse"),
      .DistrCollapse.Unique.Warn = 
-                  getdistrOption(".DistrCollapse.Unique.Warn"),
+                  getdistrOption("DistrCollapse.Unique.Warn"),
      .DistrResolution = getdistrOption("DistrResolution")){
     if(!is.numeric(supp))
         stop("'supp' is no numeric vector")

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

Modified: branches/distr-2.1/pkg/distr/inst/doc/Rplots.pdf
===================================================================
--- branches/distr-2.1/pkg/distr/inst/doc/Rplots.pdf	2009-02-27 18:49:27 UTC (rev 406)
+++ branches/distr-2.1/pkg/distr/inst/doc/Rplots.pdf	2009-02-27 19:18:25 UTC (rev 407)
@@ -2,8 +2,8 @@
 %âãÏÓ\r
 1 0 obj
 <<
-/CreationDate (D:20090227184829)
-/ModDate (D:20090227184829)
+/CreationDate (D:20090227201629)
+/ModDate (D:20090227201629)
 /Title (R Graphics Output)
 /Producer (R 2.9.0)
 /Creator (R)
@@ -47,7 +47,7 @@
 38.97 172.78 m 148.04 172.78 l S
 38.97 227.22 m 148.04 227.22 l S
 38.97 281.66 m 148.04 281.66 l S
-38.97 336.09 m 148.04 336.09 l S
+38.97 336.10 m 148.04 336.10 l S
 38.97 390.53 m 148.04 390.53 l S
 38.97 444.97 m 148.04 444.97 l S
 0.000 0.000 0.000 RG
@@ -314,13 +314,13 @@
 69.09 92.58 l
 69.19 93.26 l
 69.29 93.95 l
-69.39 94.66 l
-69.49 95.38 l
+69.39 94.65 l
+69.49 95.37 l
 69.59 96.11 l
 69.70 96.85 l
 69.80 97.61 l
 69.90 98.39 l
-70.00 99.18 l
+70.00 99.17 l
 70.10 99.98 l
 70.20 100.79 l
 70.30 101.62 l
@@ -351,7 +351,7 @@
 72.83 127.42 l
 72.93 128.67 l
 73.03 129.93 l
-73.13 131.21 l
+73.13 131.22 l
 73.23 132.52 l
 73.34 133.83 l
 73.44 135.17 l
@@ -361,7 +361,7 @@
 73.84 140.68 l
 73.94 142.11 l
 74.04 143.55 l
-74.14 145.00 l
+74.14 145.01 l
 74.25 146.48 l
 74.35 147.98 l
 74.45 149.49 l
@@ -386,8 +386,8 @@
 76.37 181.59 l
 76.47 183.45 l
 76.57 185.33 l
-76.67 187.22 l
-76.77 189.14 l
+76.67 187.23 l
+76.77 189.13 l
 76.87 191.06 l
 76.97 193.01 l
 77.08 194.96 l
@@ -407,7 +407,7 @@
 78.49 223.93 l
 78.59 226.10 l
 78.69 228.28 l
-78.79 230.48 l
+78.79 230.47 l
 78.90 232.68 l
 79.00 234.90 l
 79.10 237.12 l
@@ -416,11 +416,11 @@
 79.40 243.87 l
 79.50 246.13 l
 79.60 248.41 l
-79.70 250.70 l
+79.70 250.69 l
 79.81 252.99 l
 79.91 255.29 l
 80.01 257.60 l
-80.11 259.92 l
+80.11 259.91 l
 80.21 262.24 l
 80.31 264.57 l
 80.41 266.90 l
@@ -432,28 +432,28 @@
 81.02 281.02 l
 81.12 283.39 l
 81.22 285.75 l
-81.32 288.13 l
+81.32 288.12 l
 81.42 290.50 l
 81.52 292.87 l
 81.63 295.25 l
 81.73 297.62 l
-81.83 300.00 l
+81.83 299.99 l
 81.93 302.37 l
 82.03 304.74 l
 82.13 307.11 l
 82.23 309.48 l
 82.33 311.84 l
-82.43 314.21 l
+82.43 314.20 l
 82.54 316.56 l
 82.64 318.92 l
-82.74 321.26 l
+82.74 321.27 l
 82.84 323.61 l
 82.94 325.95 l
 83.04 328.28 l
 83.14 330.60 l
 83.24 332.92 l
 83.34 335.23 l
-83.44 337.52 l
+83.44 337.53 l
 83.55 339.82 l
 83.65 342.10 l
 83.75 344.37 l
@@ -469,11 +469,11 @@
 84.76 366.40 l
 84.86 368.52 l
 84.96 370.63 l
-85.06 372.72 l
+85.06 372.71 l
 85.16 374.78 l
 85.26 376.84 l
 85.37 378.87 l
-85.47 380.89 l
+85.47 380.88 l
 85.57 382.88 l
 85.67 384.85 l
 85.77 386.81 l
@@ -485,7 +485,7 @@
 86.38 398.05 l
 86.48 399.85 l
 86.58 401.61 l
-86.68 403.35 l
+86.68 403.36 l
 86.78 405.07 l
 86.88 406.76 l
 86.98 408.42 l
@@ -556,7 +556,7 @@
 93.55 443.69 l
 93.66 443.01 l
 93.76 442.29 l
-93.86 441.54 l
+93.86 441.53 l
 93.96 440.74 l
 94.06 439.92 l
 94.16 439.06 l
@@ -573,7 +573,7 @@
 95.27 427.34 l
 95.37 426.08 l
 95.48 424.79 l
-95.58 423.47 l
+95.58 423.46 l
 95.68 422.11 l
 95.78 420.73 l
 95.88 419.32 l
@@ -619,7 +619,7 @@
 99.92 344.06 l
 100.02 341.85 l
 100.13 339.63 l
-100.23 337.41 l
+100.23 337.40 l
 100.33 335.17 l
 100.43 332.93 l
 100.53 330.68 l
@@ -633,7 +633,7 @@
 101.34 312.50 l
 101.44 310.22 l
 101.54 307.93 l
-101.64 305.63 l
+101.64 305.64 l
 101.74 303.34 l
 101.84 301.05 l
 101.95 298.76 l
@@ -657,30 +657,30 @@
 103.77 257.93 l
 103.87 255.72 l
 103.97 253.51 l
-104.07 251.30 l
+104.07 251.31 l
 104.17 249.11 l
 104.27 246.93 l
 104.37 244.75 l
 104.47 242.58 l
 104.57 240.43 l
 104.68 238.28 l
-104.78 236.14 l
+104.78 236.15 l
 104.88 234.02 l
 104.98 231.90 l
 105.08 229.80 l
 105.18 227.71 l
-105.28 225.63 l
-105.38 223.55 l
+105.28 225.62 l
+105.38 223.56 l
 105.48 221.50 l
 105.59 219.45 l
 105.69 217.42 l
 105.79 215.40 l
 105.89 213.39 l
 105.99 211.40 l
-106.09 209.41 l
+106.09 209.42 l
 106.19 207.45 l
 106.29 205.49 l
-106.39 203.56 l
+106.39 203.55 l
 106.49 201.63 l
 106.60 199.72 l
 106.70 197.82 l
@@ -700,8 +700,8 @@
 108.11 172.83 l
 108.21 171.16 l
 108.31 169.51 l
-108.42 167.87 l
-108.52 166.26 l
+108.42 167.88 l
+108.52 166.25 l
 108.62 164.65 l
 108.72 163.07 l
 108.82 161.49 l
@@ -725,7 +725,7 @@
 110.64 136.00 l
 110.74 134.74 l
 110.84 133.50 l
-110.94 132.26 l
+110.94 132.27 l
 111.04 131.05 l
 111.15 129.85 l
 111.25 128.67 l
@@ -733,8 +733,8 @@
 111.45 126.35 l
 111.55 125.21 l
 111.65 124.09 l
-111.75 122.99 l
-111.85 121.90 l
+111.75 122.98 l
+111.85 121.89 l
 111.95 120.82 l
 112.06 119.76 l
 112.16 118.71 l
@@ -760,7 +760,7 @@
 114.18 100.79 l
 114.28 100.03 l
 114.38 99.29 l
-114.48 98.56 l
+114.48 98.55 l
 114.58 97.84 l
 114.68 97.13 l
 114.78 96.43 l
@@ -861,7 +861,7 @@
 124.39 66.88 l
 124.49 66.80 l
 124.59 66.72 l
-124.69 66.63 l
+124.69 66.64 l
 124.79 66.56 l
 124.89 66.48 l
 125.00 66.40 l
@@ -1093,7 +1093,7 @@
 38.97 172.78 m 34.21 172.78 l S
 38.97 227.22 m 34.21 227.22 l S
 38.97 281.66 m 34.21 281.66 l S
-38.97 336.09 m 34.21 336.09 l S
+38.97 336.10 m 34.21 336.10 l S
 38.97 390.53 m 34.21 390.53 l S
 38.97 444.97 m 34.21 444.97 l S
 BT

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



More information about the Distr-commits mailing list