[Distr-commits] r593 - branches/distr-2.2/pkg/distr/R branches/distr-2.2/pkg/distr/inst/doc pkg/SweaveListingUtils/inst pkg/SweaveListingUtils/inst/try
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Oct 5 22:54:37 CEST 2009
Author: ruckdeschel
Date: 2009-10-05 22:54:36 +0200 (Mon, 05 Oct 2009)
New Revision: 593
Added:
pkg/SweaveListingUtils/inst/try/
pkg/SweaveListingUtils/inst/try/try.Rnw
pkg/SweaveListingUtils/inst/try/try.Rtex
Modified:
branches/distr-2.2/pkg/distr/R/internals-qqplot.R
branches/distr-2.2/pkg/distr/inst/doc/Rplots.pdf
Log:
distr: fixed a minor bug in internal function .confqq
Modified: branches/distr-2.2/pkg/distr/R/internals-qqplot.R
===================================================================
--- branches/distr-2.2/pkg/distr/R/internals-qqplot.R 2009-10-05 20:11:38 UTC (rev 592)
+++ branches/distr-2.2/pkg/distr/R/internals-qqplot.R 2009-10-05 20:54:36 UTC (rev 593)
@@ -194,6 +194,7 @@
qqb <- qqbounds(x,D,alpha,n,withConf.pw, withConf.sim,
exact.sCI,exact.pCI,nosym.pCI)
+ qqb$crit <- qqb$crit[SI.in,]
if(qqb$err["pw"]){
if(sum(SI.c)>0){
Modified: branches/distr-2.2/pkg/distr/inst/doc/Rplots.pdf
===================================================================
--- branches/distr-2.2/pkg/distr/inst/doc/Rplots.pdf 2009-10-05 20:11:38 UTC (rev 592)
+++ branches/distr-2.2/pkg/distr/inst/doc/Rplots.pdf 2009-10-05 20:54:36 UTC (rev 593)
@@ -2,8 +2,8 @@
%âãÏÓ\r
1 0 obj
<<
-/CreationDate (D:20091005213735)
-/ModDate (D:20091005213735)
+/CreationDate (D:20091005225424)
+/ModDate (D:20091005225424)
/Title (R Graphics Output)
/Producer (R 2.10.0)
/Creator (R)
@@ -275,14 +275,14 @@
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
65.85 76.68 l
65.96 77.03 l
66.06 77.39 l
-66.16 77.76 l
+66.16 77.75 l
66.26 78.13 l
66.36 78.51 l
66.46 78.90 l
@@ -352,14 +352,14 @@
72.93 128.67 l
73.03 129.93 l
73.13 131.21 l
-73.23 132.52 l
+73.23 132.51 l
73.34 133.83 l
73.44 135.17 l
73.54 136.52 l
73.64 137.89 l
73.74 139.28 l
73.84 140.68 l
-73.94 142.11 l
+73.94 142.10 l
74.04 143.55 l
74.14 145.01 l
74.25 146.48 l
@@ -367,29 +367,29 @@
74.45 149.49 l
74.55 151.02 l
74.65 152.57 l
-74.75 154.14 l
+74.75 154.13 l
74.85 155.72 l
74.95 157.32 l
75.05 158.94 l
75.15 160.58 l
-75.26 162.24 l
+75.26 162.23 l
75.36 163.91 l
75.46 165.60 l
-75.56 167.30 l
+75.56 167.31 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.74 l
+76.27 179.75 l
76.37 181.59 l
76.47 183.45 l
76.57 185.33 l
-76.67 187.22 l
+76.67 187.23 l
76.77 189.14 l
76.87 191.06 l
-76.97 193.01 l
+76.97 193.00 l
77.08 194.96 l
77.18 196.94 l
77.28 198.93 l
@@ -407,16 +407,16 @@
78.49 223.93 l
78.59 226.10 l
78.69 228.28 l
-78.79 230.47 l
+78.79 230.48 l
78.90 232.68 l
79.00 234.90 l
79.10 237.12 l
79.20 239.36 l
79.30 241.61 l
79.40 243.87 l
-79.50 246.13 l
+79.50 246.14 l
79.60 248.41 l
-79.70 250.69 l
+79.70 250.70 l
79.81 252.99 l
79.91 255.29 l
80.01 257.60 l
@@ -424,7 +424,7 @@
80.21 262.24 l
80.31 264.57 l
80.41 266.90 l
-80.51 269.24 l
+80.51 269.25 l
80.61 271.59 l
80.72 273.94 l
80.82 276.30 l
@@ -452,14 +452,14 @@
83.04 328.28 l
83.14 330.60 l
83.24 332.92 l
-83.34 335.22 l
+83.34 335.23 l
83.44 337.53 l
83.55 339.82 l
83.65 342.10 l
83.75 344.37 l
83.85 346.63 l
83.95 348.88 l
-84.05 351.12 l
+84.05 351.11 l
84.15 353.34 l
84.25 355.55 l
84.35 357.75 l
@@ -470,10 +470,10 @@
84.86 368.52 l
84.96 370.63 l
85.06 372.71 l
-85.16 374.79 l
+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.81 l
@@ -482,10 +482,10 @@
86.07 392.53 l
86.17 394.40 l
86.28 396.24 l
-86.38 398.06 l
+86.38 398.05 l
86.48 399.85 l
86.58 401.61 l
-86.68 403.36 l
+86.68 403.35 l
86.78 405.07 l
86.88 406.76 l
86.98 408.42 l
@@ -574,7 +574,7 @@
95.37 426.08 l
95.48 424.79 l
95.58 423.47 l
-95.68 422.11 l
+95.68 422.12 l
95.78 420.73 l
95.88 419.32 l
95.98 417.88 l
@@ -603,13 +603,13 @@
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.63 l
+98.81 367.64 l
98.91 365.56 l
99.01 363.46 l
99.11 361.36 l
-99.22 359.24 l
+99.22 359.23 l
99.32 357.10 l
99.42 354.96 l
99.52 352.80 l
@@ -631,9 +631,9 @@
101.14 317.07 l
101.24 314.79 l
101.34 312.50 l
-101.44 310.21 l
-101.54 307.93 l
-101.64 305.64 l
+101.44 310.22 l
+101.54 307.92 l
+101.64 305.63 l
101.74 303.34 l
101.84 301.05 l
101.95 298.76 l
@@ -657,11 +657,11 @@
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.59 l
+104.47 242.58 l
104.57 240.43 l
104.68 238.28 l
104.78 236.14 l
@@ -700,10 +700,10 @@
108.11 172.83 l
108.21 171.16 l
108.31 169.51 l
-108.42 167.87 l
-108.52 166.25 l
+108.42 167.88 l
+108.52 166.26 l
108.62 164.65 l
-108.72 163.07 l
+108.72 163.06 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.91 l
+110.03 143.92 l
110.13 142.56 l
110.24 141.21 l
110.34 139.89 l
@@ -734,7 +734,7 @@
111.55 125.21 l
111.65 124.09 l
111.75 122.99 l
-111.85 121.89 l
+111.85 121.90 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
@@ -6712,152 +6712,4 @@
475.33 414.79 l
475.33 415.26 l
475.33 415.72 l
-475.34 416.19 l
-475.34 416.65 l
-475.34 417.11 l
-475.35 417.58 l
-475.35 418.04 l
-475.35 418.51 l
-475.35 418.97 l
-475.36 419.44 l
-475.36 419.90 l
-475.36 420.36 l
-475.36 420.83 l
-475.36 421.29 l
-475.37 421.76 l
-475.37 422.22 l
-475.37 422.68 l
-475.37 423.15 l
-475.37 423.61 l
-475.38 424.08 l
-475.38 424.54 l
-475.38 425.01 l
-475.38 425.47 l
-475.38 425.93 l
-475.38 426.40 l
-475.38 426.86 l
-475.39 427.33 l
-475.39 427.79 l
-475.39 428.25 l
-475.39 428.72 l
-475.39 429.18 l
-475.39 429.65 l
-475.39 430.11 l
-475.39 430.58 l
-475.39 431.04 l
-475.39 431.50 l
-475.40 431.97 l
-475.40 432.43 l
-475.40 432.90 l
-475.40 433.36 l
-475.40 433.82 l
-475.40 434.29 l
-475.40 434.75 l
-475.40 435.22 l
-475.40 435.68 l
-475.40 436.15 l
-475.40 436.61 l
-475.40 437.07 l
-475.40 437.54 l
-475.40 438.00 l
-475.40 438.47 l
-475.40 438.93 l
-475.40 439.39 l
-475.40 439.86 l
-475.41 440.32 l
-475.41 440.79 l
-475.41 441.25 l
-475.41 441.71 l
-475.41 442.18 l
-475.41 442.64 l
-475.41 443.11 l
-475.41 443.57 l
-475.41 444.04 l
-475.41 444.50 l
-475.41 444.96 l
-475.41 445.43 l
-475.41 445.89 l
-475.41 446.36 l
-475.41 446.82 l
-475.41 447.28 l
-475.41 447.75 l
-475.41 448.21 l
-475.41 448.68 l
-475.41 449.14 l
-475.41 449.61 l
-S
-Q
-endstream
-endobj
-13 0 obj
-50571
-endobj
-3 0 obj
-<<
-/Type /Pages
-/Kids [
-5 0 R
-8 0 R
-11 0 R
-]
-/Count 3
-/MediaBox [0 0 504 504]
->>
-endobj
-4 0 obj
-<<
-/ProcSet [/PDF /Text]
-/Font << /F1 15 0 R /F2 16 0 R >>
-/ExtGState << >>
->>
-endobj
-14 0 obj
-<<
-/Type /Encoding
-/BaseEncoding /WinAnsiEncoding
-/Differences [ 45/minus ]
->>
-endobj
-15 0 obj
-<<
-/Type /Font
-/Subtype /Type1
-/Name /F1
-/BaseFont /ZapfDingbats
->>
-endobj
-16 0 obj <<
-/Type /Font
-/Subtype /Type1
-/Name /F2
-/BaseFont /Helvetica
-/Encoding 14 0 R
->> endobj
-xref
-0 17
-0000000000 65535 f
-0000000021 00000 n
-0000000164 00000 n
-0000111798 00000 n
-0000111894 00000 n
-0000000213 00000 n
-0000000293 00000 n
-0000051238 00000 n
-0000051259 00000 n
-0000051339 00000 n
-0000061047 00000 n
-0000061068 00000 n
-0000061150 00000 n
-0000111776 00000 n
-0000111988 00000 n
-0000112083 00000 n
-0000112167 00000 n
-trailer
-<<
-/Size 17
-/Info 1 0 R
-/Root 2 0 R
->>
-startxref
-112265
-%%EOF
+475.3
\ No newline at end of file
Added: pkg/SweaveListingUtils/inst/try/try.Rnw
===================================================================
--- pkg/SweaveListingUtils/inst/try/try.Rnw (rev 0)
+++ pkg/SweaveListingUtils/inst/try/try.Rnw 2009-10-05 20:54:36 UTC (rev 593)
@@ -0,0 +1,48 @@
+ \documentclass[9pt]{beamer}
+
+\usepackage{fancyvrb}
+\usepackage{listings}
+
+% choose language and char set
+\usepackage[ngerman]{babel}
+\usepackage[ansinew]{inputenc}
+%
+
+\SweaveOpts{prefix.string=Routput/parcel, keep.source=TRUE}
+
+\begin{Scode}{results=tex, echo=FALSE}
+require(SweaveListingUtils)
+SweaveListingoptions(intermediate = FALSE)
+SweaveListingPreparations()
+\end{Scode}
+
+
+\begin{document}
+
+
+\begin{frame}[fragile]
+\frametitle{Your title}
+
+\begin{lstlisting}options(digits=3)
+set.seed(1)
+
+require(Hmisc)
+
+age <- rnorm(1000,50,10)
+sex <- sample(c('female','male'),1000,TRUE)
+out <- histbackback(split(age, sex), probability=TRUE, xlim=c(-.06,.06),
+ main = 'Back to Back Histogram')
+
+#! just adding color
+barplot(-out$left, col="red" , horiz=TRUE, space=0, add=TRUE, axes=FALSE)
+barplot(out$right, col="blue", horiz=TRUE, space=0, add=TRUE, axes=FALSE)
+\end{lstlisting}
+\end{frame}
+
+\begin{Scode}{echo=FALSE}
+ unloadNamespace("SweaveListingUtils")
+\end{Scode}
+
+\end{document}
+
+%%%%% end example
Added: pkg/SweaveListingUtils/inst/try/try.Rtex
===================================================================
--- pkg/SweaveListingUtils/inst/try/try.Rtex (rev 0)
+++ pkg/SweaveListingUtils/inst/try/try.Rtex 2009-10-05 20:54:36 UTC (rev 593)
@@ -0,0 +1,49 @@
+ \documentclass[9pt]{beamer}
+
+\usepackage{fancyvrb}
+\usepackage{listings}
+
+% choose language and char set
+\usepackage[ngerman]{babel}
+\usepackage[ansinew]{inputenc}
+%
+
+\SweaveSyntax{SweaveSyntaxLatex}
+\SweaveOpts{prefix.string=Routput/parcel, keep.source=TRUE}
+
+\begin{Scode}{results=tex, echo=FALSE}
+require(SweaveListingUtils)
+SweaveListingoptions(intermediate = FALSE)
+SweaveListingPreparations()
+\end{Scode}
+
+
+\begin{document}
+
+
+\begin{frame}[fragile]
+\frametitle{Your title}
+
+\begin{lstlisting}options(digits=3)
+set.seed(1)
+
+require(Hmisc)
+
+age <- rnorm(1000,50,10)
+sex <- sample(c('female','male'),1000,TRUE)
+out <- histbackback(split(age, sex), probability=TRUE, xlim=c(-.06,.06),
+ main = 'Back to Back Histogram')
+
+#! just adding color
+barplot(-out$left, col="red" , horiz=TRUE, space=0, add=TRUE, axes=FALSE)
+barplot(out$right, col="blue", horiz=TRUE, space=0, add=TRUE, axes=FALSE)
+\end{lstlisting}
+\end{frame}
+
+\begin{Scode}{echo=FALSE}
+ unloadNamespace("SweaveListingUtils")
+\end{Scode}
+
+\end{document}
+
+%%%%% end example
More information about the Distr-commits
mailing list