similar to: Re-sizing R graphics for Sweave

Displaying 20 results from an estimated 10000 matches similar to: "Re-sizing R graphics for Sweave"

2007 May 16
1
Problem with Sweave
I am using R 2.5 on a Linux Redhat platform. I can successfully run some example *.Rnw files through Sweave and generate pdf files. When I try my own example file, "test.Rnw": \documentclass[a4paper]{article} \title{Test Sweave Example} \author{Thomas Adams} \begin{document} \maketitle In this example we embed parts of the examples from the \texttt{boxplot} and \texttt{lattice}
2008 Apr 11
2
Questions related to plotting boxplots of time series data
List, I have looked through several R books and searched the web to find answers to my questions with no results. I have a ensembles of time series data (essentially from Monte Carlo simulations) which I would like to summarize as a time series of boxplots. I don't know how to do this and I am not sure how I should structure the data to get what I want. Another related question: while
2011 Oct 03
4
Question about ggplot2 and stat_smooth
I'm interested in creating a graphic -like- this: c <- ggplot(mtcars, aes(qsec, wt)) c + geom_point() + stat_smooth(fill="blue", colour="darkblue", size=2, alpha = 0.2) but I need to show 2 sets of bands (with different shading) using 5%, 25%, 75%, 95% limits that I specify and where the heavy blue line is the median. I don't understand how to do this with
2011 Dec 12
1
Please delete my e-mail judit.barroso@montana.edu
Please, I am receiving lot of e-mails that I do not want. Please could you delete my e-mail. Thank, Judit -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Thomas Adams Sent: Monday, December 12, 2011 3:22 PM To: Bert Gunter Cc: r-help at r-project.org Subject: Re: [R] Boxplot of multiple vectors with different lengths Bert,
2008 Jun 16
1
Dual axis labeling of a single quantity
I have a problem where I need to label the vertical axes of a Boxplot with related, but different quantities (flow & height), which have a known relationship. Primarily I want to plot the variable as a flow on the left axis and on the opposing right axis, show the corresponding height. Is it possible to get the flow range (max & min) of the left axis and then supply the right axis
2010 Feb 03
2
ggplot2/qplot question regarding reducing the no. of x-axis labels
All: I am using the command: qplot(date,MAE,data=data,facets=INTERVAL~type) which works fine except that the dates for my date axes are crunched together so much that they are unreadable. I can not find an option that I can set that will automatically reduce the x-axis labels to fit the available space. regards to all? -- Thomas E Adams National Weather Service Ohio River Forecast Center
2012 Mar 27
1
RSqlite UPDATE command problem
All: I am using RSqlite and want to be able to update individual values in a record, such as with this simple example: library(RSQLite) drv<-dbDriver("SQLite") con<-dbConnect(drv,"test.db") my.data<-data.frame(countries=c("US","UK","Canada","Australia","NewZealand"),vals=c(52,36,74,10,98))
2012 Dec 28
1
Using grImport to create a watermark
Hi… I want to use grImport to create a watermark on a plot() using the methods Paul Murrell describes here: http://cran.r-project.org/web/packages/grImport/vignettes/import.pdf (page 28). I can essentially reproduce this manually at the R prompt, and independently I can use grid.picture(…) successfully in a R script, but when I attempt to do do this in my script: • • •
2006 Jul 28
1
Normal score transform of spatial data
List: I have 2 related questions: (1) first I have x-y-z data, where x & y are the geographic locations of point values, z. I need to perform a normal score transform on the z-values and maintain their geographic location. So, how do I go from columns x-y-z to x-y-z-t (or x-y-t), where the t-values are the normal score transforms of the z-values? Can I use qnorm(ppoints(data)) to do
2009 Apr 01
1
Plotting a time series
I have data that I read in using: data<-read.table("RAVK2.obs.data",sep="\t") 'data' looks like this: V1 V2 1 2009-03-25 06:00:00 12.86 2 2009-03-25 12:00:00 12.80 3 2009-03-25 18:00:00 12.76 4 2009-03-26 00:00:00 12.68 5 2009-03-26 06:00:00 12.66 6 2009-03-26 12:00:00 12.64 7 2009-03-26 18:00:00 12.83 8 2009-03-27 00:00:00 13.33 9
2009 Nov 02
3
Problem building R 2.10.0 - Matrix package
All: Attached is the output file from building R 2.10.0 on RedHat Linux. I have never previously experienced any problems when building R from source with new releases. But, now I get a compile error with the Matrix package: CHOLMOD/Include/cholmod.h:87:22: error: UFconfig.h: No such file or directory make[3]: *** [CHMfactor.o] Error 1 make[3]: Leaving directory
2011 Mar 24
1
Help needed with plot axis labeling
I have looked at many examples and tried many different combinations of doing this, but with no luck. I have something like this: plot(1:10, xaxt = "n") axis(1, xaxp=c(2, 9, 7)) axis(4) but, what I need is to have different labels for axis-4 than those for axis-2 (the vertical axes) ? that is, rather than 2,4,6,8,10 for both the left and right vertical axes, I need A,B,C,D,E on the
2011 Mar 26
1
2 questions about probplot in package e1071
The contributed package e1071 does exactly what I want except that I need to have (1) the abscissa and ordinate axes swapped, with the probability scale on the bottom and the quantiles scale on the LHS. Using the following example: library(e1071) x <- rnorm(100, mean=5) probplot(x, line=FALSE) and (2) I need to have lines connecting the plotted symbols, as you get with:
2012 Mar 25
1
Struggling with zoo and aggregate
All: I have a SQlite database where I have stored some verification data by date & time (cycle Z/UTC), lead_time as well as type, duration, etc. I would like to analyze & plot the data as monthly averages. I have looked at a bunch of examples which use some combination of zoo and aggregate, but I have not been able to successfully apply bits and pieces from the examples I have found. Any
2010 Feb 04
2
help needed using t.test with factors
I am trying to use t.test on the following data: date type INTERVAL nCASES MTF SDF MTO SDO nFST MF nOBS MO MB BIASCV BIASEV ME MAE RMSE CRCF 2001-06-15 avn GE1.00 4385 0.246 0.300 1.502 0.556 1367 1.373 4385 1.502 1.471 0.285 0.164 -1.256 1.266 1.399 0.056 2001-06-15 avn
2007 Apr 05
1
Problem installing rgdal on Mac OS X
Please forgive me for posting this here if it is not appropriate (where should this question be posed?)? I am attempting to install rgdal (from source, since there is no binary) on Mac OS X 10.4.9 on a PowerPC G3 Macintosh. I have R version 2.4.1 (2006-12-18) installed. Following the install directions suggested at: http://www.sal.uiuc.edu/tools/tools-sum/rgeo/rgeo-detail/map-packages-on-cran
2007 Jul 19
1
Sweave on mac os x
Dear all, is Sweave working on MAC ? I installed R-2.5.1 but seems like Sweave is not coming with the distribution as it comes on linux. Do I need to install it separately ? In that case is there a .dmg for mac ? Thanks for the help! Regards Marco [[alternative HTML version deleted]]
2008 Nov 29
3
including Sweave tangled code in '.Rnw' document
Hello List, I have been using Sweave for my homework this last quarter and have been very impressed at how much time and effort it saves me. I, however, have run up against a problem which I have not been able to solve using any of the Sweave/LaTeX tricks I know. I work through my homework one problem at a time, typesetting equations and writing R code, etc. and occasionally use
2008 Nov 18
1
Sweave
Dear All, I have both R 2.80 and Scientific Workplace 5.5 installed on my computer. I copied the following commands from HTML help provided by R: testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package = "utils") Sweave(testfile) I then compile Sweave-test-1.tex file using Scientific Workplace 5.5. Apparently, Scienfic Workplace 5.5 does not recognize
2011 Mar 23
3
Sweave: multiple graphic formats, e.g. win.metafile
Dear R devel, being constrained to a windows environment at work and having colleagues being accustomed to the Microsoft Office Suite, I was looking for a way to have the RweaveLatex driver for Sweave automatically generating 'win.metafile's in addition to the pdf graphics. Without this functionalilty, the generation of emf-graphics is quite laborious, I think: <<>>= plotit