similar to: Reproducible Research - Examples

Displaying 20 results from an estimated 800 matches similar to: "Reproducible Research - Examples"

2008 Mar 07
3
R-Logo in \LaTeX (Mag. Ferri Leberl)
Dear Mag. Ferri Leberl, I'm using something like: ----------------------- tex.tex --------------------------- \documentclass{article} \usepackage{graphicx} \usepackage{fancyvrb} \newcommand{\Rlogo}{\protect\includegraphics[height=1.8ex,keepaspectratio]{Rlogo.pdf}} \newcommand{\myinput}[1] {\begin{scriptsize} \VerbatimInput[frame=single,label=#1]{#1} \end{scriptsize}} \title{The R logo,
2008 Mar 07
3
R-Logo in \LaTeX (Mag. Ferri Leberl)
Dear Mag. Ferri Leberl, I'm using something like: ----------------------- tex.tex --------------------------- \documentclass{article} \usepackage{graphicx} \usepackage{fancyvrb} \newcommand{\Rlogo}{\protect\includegraphics[height=1.8ex,keepaspectratio]{Rlogo.pdf}} \newcommand{\myinput}[1] {\begin{scriptsize} \VerbatimInput[frame=single,label=#1]{#1} \end{scriptsize}} \title{The R logo,
2006 Oct 08
2
Size problem with two dotcharts side by side
Dear all, I'm trying to produce two dotcharts side-by-side within a Sweave document. When I'm compiling this example: \documentclass{article} \begin{document} <<fig=T,width=8,height=4>>= par(mfrow = c(1, 2), cex = 0.7) for(i in 1:2) dotchart(1:10) @ <<fig=T,width=8,height=4>>= par(mfrow = c(1, 2), cex = 0.7) for(i in 1:2) hist(1:10) @
2006 Oct 26
3
Measurements of 3000 criminals
Hallo everyone, excuse me if this is not a genuine R question but I do not know where to ask else. Referring to e.g. https://stat.ethz.ch/pipermail/r-help/2004-December/062114.html I wonder if these measurements of 3000 criminals (raw data) are available anywhere. At least I didn't find them in the R datasets package or by means of Google. What I did find was a table of frequencies of
2008 Jan 27
4
[OT] vernacular names for circular diagrams
> Dear useRs, > > by a circular diagram representation I mean what you will get by entering > this at your R promt: > > pie(1:5) > > Nice to have R as a lingua franca :-) > > The folowing quote is from page 360 in this very interesting paper: > > @article{SpenceI2005, > title = {No Humble Pie: The Origins and Usage of a Statistical Chart}, >
2006 Dec 08
1
Sweave and warning messages
How does one tell Sweave() to include analysis warning messages in the verbatim output? _____________________________ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400 Charlottesville, VA 22904-4400 Parcels: Room 102 Gilmer Hall McCormick Road Charlottesville, VA 22903 Office: B011 +1-434-982-4729 Lab: B019
2006 Apr 19
2
par(tmag) question
Dear list, I'm trying to understand the graphical parameters by a systematic exploration of the par() function (if you are interested by the result it's here http://pbil.univ-lyon1.fr/R/fichestd/tdr75.pdf, the comments are all in french but it's pure R code under Sweave). I have a problem with par(tmag) illustrated by the following code:
2008 Feb 25
3
How to include the documentation of a function in a Sweave document?
Dear R-help, I would like to include the documentation of an R function in an *.rnw document processed by Sweave. Because I'm sharing my *.rnw files with colleagues under Linux and Windows (I'm on Mac OS X), I would like a pure R solution. The naive approach doesn't work, because Sweaving this *.rnw file: -------- tmp.rnw -------- \documentclass{article} \begin{document}
2003 Nov 15
5
correlation and causality examples
Dear All, I'am looking for examples showing that correlation does not imply causality, the targeted audience consists of undergraduate students (their first year at the university but in the BioMathStat track). All practicals are under R. I was able to extract this from R datasets: ### begin data(sunspots) data(lynx) spots <- window(sunspots, freq = 1, start = 1880, end = 1900) lnx <-
2006 Jul 12
2
Are infix binary operators ** and ^ aliased?
Dear R-help, After making a typo (reminiscent of FORTRAN 77, I guess) I found the following: > identical(all.equal(2^(-10:10), 2**(-10:10)), TRUE) [1] TRUE I have tried to find the documentation about the ** operator but I was unsuccesful this way: > sessionInfo() Version 2.3.1 (2006-06-01) powerpc-apple-darwin8.6.0 attached base packages: [1] "methods" "stats"
2007 Apr 22
1
exemple pour l'AFD
Bonjours monsieurs Je suis un ?tudient en 4eme ann?e informatique a l?universite djilali liabes SBA ALGERIE. Je suis entrain de pr?parer un expos? sur l?AFD et j?ai besoin d?un exemple sous R pour bien pr?senter mon travail.
2008 Mar 30
2
data(lh) time serie parameters
Dear all, I'm confused by the time serie parameters in data(lh) : sueoka:~ lobry$ R --vanilla --quiet > tsp(lh) [1] 1 48 1 because documentation says: QUOTE A regular time series giving the luteinizing hormone in blood samples at 10 mins intervals from a human female, 48 samples. UNQUOTE So that I would expect the time serie to end at 480 minutes or 8 hours. Shouldn't we have
2006 Jun 18
2
analyze amino acid sequence (composition)of proteins
Dear R-helpers: thank your for your attention. i am a newer to R and i am doing some protein category classification based on the amino acid sequence.while i have some questions urgently. 1. any packages for analysis amino acid sequence 2. given two sequences "AAA" and "BBB",how can i combine them into "AAABBB" 3. based on "AAABBB",how can i get some
2007 Jul 24
1
crimtab related question
Dear all, the dataset documented under ?crimtab was also used in: @article{TreloarAE1934, title = {The adequacy of "{S}tudent's" criterion of deviations in small sample means}, author = {Treloar, A.E. and Wilder, M.A.}, journal = {The Annals of Mathematical Statistics}, volume = {5}, pages = {324-341}, year = {1934} } The following is
2006 Jun 01
1
problem when calling help.search() a second time
Dear list, I would like to make a Sweave document that, for a given package, automatically inserts the graphical outputs obtained when runing the example code of high level plot functions. That is, for the "graphics" base package, something like this: http://pbil.univ-lyon1.fr/R/fichestd/tdr79.pdf For this, I need the list of high level plot functions of a given package. I have
2009 Nov 20
1
Suggestion for the reproducibility of R home page figure
Dear R-devel, googling for the single letter R yields R-home page as the firt hit, which is extremly nice. By clicking on the figure you get the code of the "Winner of the R Homepage graphics competition 2004." By copy/pasting in your R console it doesn't work because it is impossible to install the mva package. This is my point. As documented in ONEWS the reason is simple:
2007 Feb 01
2
prop.test() references
Dear R-help, I'm using prop.test() to compute a confidence interval for a proportion under R version 2.4.1, as in: prop.test(x = 340, n = 400)$conf [1] 0.8103309 0.8827749 I have two questions: 1) from the source code my understanding is that the confidence interval is computed according to Wilson, E.B. (1927) Probable inference, the law of succession, and statistical inference. J. Am.
2007 Dec 31
2
How to import ENSEMBL text data using R
Dear all, I have a data which is in text file and i would like to import the data to R. From the manual, i?ve found the read.table command function is the most appropriate but when i wrote the command an error had occur. It say ?Error in read.table"C:/Users/user/Documents/cfa-1.txt", header = T, sep = "\t",skip=10) :more columns than column names?. Please help me with this as
2006 Nov 15
3
Dotmatrix Plots
Hi all, Does anyone know what happened to the dna library or the dotmatrix function? For the life of me, I can't find it anywhere with the exception of this reference: http://rss.acs.unt.edu/Rdoc/library/dna/html/dotmatrix.html Thanks! Jeff. http://www.nd.edu/~jspies/ [[alternative HTML version deleted]]
2007 Sep 24
1
Sweave and ggplot2
Hi, I am trying to use ggplot2 graphics with Sweave, but I got problems with transparency support when generating pdf figures, even if I specify a ?pdf.version? argument in Sweave options. More precisely, forcing the pdf version by creating the file manually works : <<fig=FALSE,results=HIDE>>= pdf(version="1.4",file="foo.pdf") ggplot(d,aes(y=t,x=u)) +