[Distr-commits] r596 - in branches/distr-2.2/pkg/distr: R inst/doc
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Oct 6 01:53:32 CEST 2009
Author: ruckdeschel
Date: 2009-10-06 01:53:32 +0200 (Tue, 06 Oct 2009)
New Revision: 596
Modified:
branches/distr-2.2/pkg/distr/R/internals-qqplot.R
branches/distr-2.2/pkg/distr/inst/doc/Rplots.pdf
Log:
distr: yet another fix for internal function .q2pw : somehow method dispatch does not
work for distrEx::sd (but works for distrEx::E).
Modified: branches/distr-2.2/pkg/distr/R/internals-qqplot.R
===================================================================
--- branches/distr-2.2/pkg/distr/R/internals-qqplot.R 2009-10-05 23:40:03 UTC (rev 595)
+++ branches/distr-2.2/pkg/distr/R/internals-qqplot.R 2009-10-05 23:53:32 UTC (rev 596)
@@ -173,8 +173,8 @@
supp.ind.m <- pmax(supp.ind - 1 ,1)
dsupp.p <- support(D)[supp.ind.p] - support(D)[supp.ind]
dsupp.m <- support(D)[supp.ind] - support(D)[supp.ind.m]
- s <- distrEx::sd(D)
m <- distrEx::E(D)
+ s <- sqrt(distrEx::E(D, fun = function(x) (x-m)^2))
dp <- log(pnorm((x+dsupp.p/2-m)/s) - pnorm((x-dsupp.m/2-m)/s))
}
ro <- exp(pq/2-dp)*(dsupp.p+dsupp.m)/2*qnorm((1+alpha)/2)
Modified: branches/distr-2.2/pkg/distr/inst/doc/Rplots.pdf
===================================================================
--- branches/distr-2.2/pkg/distr/inst/doc/Rplots.pdf 2009-10-05 23:40:03 UTC (rev 595)
+++ branches/distr-2.2/pkg/distr/inst/doc/Rplots.pdf 2009-10-05 23:53:32 UTC (rev 596)
@@ -2,8 +2,8 @@
%âãÏÓ\r
1 0 obj
<<
-/CreationDate (D:20091006012823)
-/ModDate (D:20091006012823)
+/CreationDate (D:20091006015144)
+/ModDate (D:20091006015144)
/Title (R Graphics Output)
/Producer (R 2.10.0)
/Creator (R)
@@ -169,7 +169,7 @@
54.43 64.20 l
54.53 64.21 l
54.63 64.22 l
-54.73 64.23 l
+54.73 64.24 l
54.83 64.25 l
54.94 64.26 l
55.04 64.28 l
@@ -275,7 +275,7 @@
65.15 74.45 l
65.25 74.75 l
65.35 75.05 l
-65.45 75.36 l
+65.45 75.37 l
65.55 75.68 l
65.65 76.01 l
65.75 76.34 l
@@ -320,7 +320,7 @@
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
@@ -359,7 +359,7 @@
73.64 137.89 l
73.74 139.28 l
73.84 140.68 l
-73.94 142.10 l
+73.94 142.11 l
74.04 143.55 l
74.14 145.01 l
74.25 146.48 l
@@ -367,7 +367,7 @@
74.45 149.49 l
74.55 151.02 l
74.65 152.57 l
-74.75 154.13 l
+74.75 154.14 l
74.85 155.72 l
74.95 157.32 l
75.05 158.94 l
@@ -375,12 +375,12 @@
75.26 162.23 l
75.36 163.91 l
75.46 165.60 l
-75.56 167.31 l
+75.56 167.30 l
75.66 169.03 l
75.76 170.77 l
75.86 172.53 l
75.96 174.31 l
-76.06 176.10 l
+76.06 176.11 l
76.17 177.92 l
76.27 179.75 l
76.37 181.59 l
@@ -389,7 +389,7 @@
76.67 187.23 l
76.77 189.14 l
76.87 191.06 l
-76.97 193.00 l
+76.97 193.01 l
77.08 194.96 l
77.18 196.94 l
77.28 198.93 l
@@ -401,13 +401,13 @@
77.88 211.18 l
77.99 213.27 l
78.09 215.38 l
-78.19 217.49 l
+78.19 217.50 l
78.29 219.63 l
78.39 221.77 l
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
@@ -431,7 +431,7 @@
80.92 278.66 l
81.02 281.02 l
81.12 283.39 l
-81.22 285.75 l
+81.22 285.76 l
81.32 288.13 l
81.42 290.50 l
81.52 292.87 l
@@ -443,7 +443,7 @@
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
@@ -473,10 +473,10 @@
85.16 374.78 l
85.26 376.84 l
85.37 378.87 l
-85.47 380.88 l
+85.47 380.89 l
85.57 382.88 l
85.67 384.85 l
-85.77 386.80 l
+85.77 386.81 l
85.87 388.74 l
85.97 390.65 l
86.07 392.53 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
@@ -579,7 +579,7 @@
95.88 419.32 l
95.98 417.88 l
96.08 416.41 l
-96.18 414.91 l
+96.18 414.92 l
96.28 413.39 l
96.39 411.84 l
96.49 410.26 l
@@ -603,9 +603,9 @@
98.31 377.79 l
98.41 375.79 l
98.51 373.78 l
-98.61 371.74 l
+98.61 371.75 l
98.71 369.70 l
-98.81 367.64 l
+98.81 367.63 l
98.91 365.56 l
99.01 363.46 l
99.11 361.36 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
@@ -632,7 +632,7 @@
101.24 314.79 l
101.34 312.50 l
101.44 310.22 l
-101.54 307.92 l
+101.54 307.93 l
101.64 305.63 l
101.74 303.34 l
101.84 301.05 l
@@ -643,32 +643,32 @@
102.35 289.59 l
102.45 287.30 l
102.55 285.02 l
-102.65 282.73 l
+102.65 282.74 l
102.75 280.46 l
102.86 278.18 l
102.96 275.91 l
103.06 273.64 l
103.16 271.38 l
103.26 269.12 l
-103.36 266.88 l
+103.36 266.87 l
103.46 264.63 l
103.56 262.39 l
103.66 260.16 l
103.77 257.93 l
103.87 255.72 l
103.97 253.51 l
-104.07 251.31 l
+104.07 251.30 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.18 227.70 l
105.28 225.63 l
105.38 223.56 l
105.48 221.50 l
@@ -700,10 +700,10 @@
108.11 172.83 l
108.21 171.16 l
108.31 169.51 l
-108.42 167.88 l
+108.42 167.87 l
108.52 166.25 l
108.62 164.65 l
-108.72 163.06 l
+108.72 163.07 l
108.82 161.49 l
108.92 159.94 l
109.02 158.40 l
@@ -716,7 +716,7 @@
109.73 148.09 l
109.83 146.68 l
109.93 145.29 l
-110.03 143.92 l
+110.03 143.91 l
110.13 142.56 l
110.24 141.21 l
110.34 139.89 l
@@ -725,7 +725,7 @@
110.64 136.00 l
110.74 134.74 l
110.84 133.50 l
-110.94 132.27 l
+110.94 132.26 l
111.04 131.05 l
111.15 129.85 l
111.25 128.67 l
@@ -734,7 +734,7 @@
111.55 125.21 l
111.65 124.09 l
111.75 122.99 l
-111.85 121.90 l
+111.85 121.89 l
111.95 120.82 l
112.06 119.76 l
112.16 118.71 l
@@ -756,7 +756,7 @@
113.77 103.94 l
113.87 103.13 l
113.98 102.34 l
-114.08 101.56 l
+114.08 101.55 l
114.18 100.79 l
114.28 100.03 l
114.38 99.29 l
@@ -798,7 +798,7 @@
118.02 79.71 l
118.12 79.34 l
118.22 78.97 l
-118.32 78.61 l
+118.32 78.62 l
118.42 78.26 l
118.53 77.92 l
118.63 77.58 l
@@ -861,7 +861,7 @@
124.39 66.88 l
124.49 66.80 l
124.59 66.72 l
-124.69 66.64 l
+124.69 66.63 l
124.79 66.56 l
124.89 66.48 l
125.00 66.40 l
More information about the Distr-commits
mailing list