similar to: save single image when using plot(lm(y~x))

Displaying 20 results from an estimated 10000 matches similar to: "save single image when using plot(lm(y~x))"

2008 Nov 21
3
HELP
[This email is either empty or too large to be displayed at this time]
2008 Aug 15
5
x-axis with month and year
Hey list! I have a csv-file with two variables: (Date,CMI) Date,CMI Jan-93,3.24 Feb-93,-2.56 . . . Dec-06, 8.25 When I want to plot this dataset, R is sorting the date in alphabetical order. Is there any way to tell R not to do it? I know it is probably an easy issue but I couldn't find a solution so far. I have seen so many tips already but can't apply it on my own dataset. Thank
2012 Apr 30
2
for loop problem
Hi all, I was wondering if you can help me with the following situation: I have a data frame that includes weather station data for 30 years in the form: YEAR, MONTH, DAY, TEMP 1970, 01, 01, -15 ... 1999, 12, 31, -21 I would like to add another variable "JULIAN" that assigns the integers 1 to 365 (and 1 to 366 for leap years) for each day of a year over multiple years. Here is what
2011 Nov 01
3
factor level issue after subsetting
Dear list, I cannot figure out why, after sub-setting my data, that particular item which I don't want to plot is still in the newly created subset (please see example below). R somehow remembers what was in the original data set. A work around is exporting and importing the new subset. Then it's all fine; but I don't like this idea and was wondering what am I missing here? Thanks!
2006 Jan 16
4
Standardized beta-coefficients in regression
Hello list, I am used to give a lot of attention to the standardized regression coefficients, which in SPSS are listed automatically. Is there alternative to running the last two lines in the following example to get all the information? ctl <- c(4.17,5.58,5.18,6.11,4.50,4.61,5.17,4.53,5.33,5.14) trt <- c(4.81,4.17,4.41,3.59,5.87,3.83,6.03,4.89,4.32,4.69) summary( lm(ctl ~ trt) )
2008 Sep 24
2
Why horizontal bars instead of a line
Hey list! It looks simple, though it's not possible for me to plot the following properly: (some made-up data) GrSe Clone1 Clone2 Clone3 Clone4 Clone... G1999 2 3 6 5 G2000 2 5 7 4 G2001 5 3 7 3 G2002 4 5 8 3 G... GrSe=Growing Season. I've read the file as "x" and then tried: plot(x$GrSe,x$Clone1) The output is 4 horizontal bars. Even if I write
2009 Apr 06
1
multi panel plot using xyplot()
Hi there, I hope you guys can help me with the following: If have a file like this: year clone code height 1995 4 4-1 1 1996 4 4-1 2 1997 4 4-1 3 1995 4 4-2 1 1996 4 4-2 2 1997 4 4-2 3 1995 5 5-1 1 1996 5 5-1 2 1997 5 5-1 3 1995 5 5-2 1 1996 5 5-2 2 1997 5 5-2 3 . . . . . . . . . . . . 1. I want to analyze the growth of 52 different clones replicated 25 times over a period of 19 years. Now
2003 Mar 15
1
plots to metafile and x/y ratio
Dear all, I have a problem which I'm not sure if it is due to my machine or if I'm doing something wrong. I'm ploting a little map using plot(val, type="l", asp=1) where val is the object with the latitude/longitude data. In the screen the figure is perfect, and I can copy to the clipboard and paste it to other places. I can also saved using png() or jpeg(), althoug
2008 Dec 08
1
Save image as metafile
Hi, how can I save an image as a metafile? I know within windows you can do a right click and then 'save image as metafile' but I use Mac OS X...I know as well that mac users have a right click as well, but it does not work. Is there a command in R for saving images as metafiles? Regards, mentor -- View this message in context:
2004 Mar 08
2
getting the std errors in the lm function
Hello, I have a simple question for you: making: mylm<-lm(y~x) summary(mylm) I get the following results: ****************************************************** Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 16.54087 0.19952 82.91 <2e-16 *** x[1:19] -2.32337 0.04251 -54.66 <2e-16 *** ******************************************************
2003 Oct 11
1
Subclassing lm
I'd trying to subclass the "lm" class to produce a "mylm" class whose instances behave like lm objects (are accepted by methods like summary.lm) but have additional data or slots of my own design. For starters: setClass("mylm", "lm") produces the somewhat cryptic: Warning message: Old-style (``S3'') class "mylm" supplied as a
2004 Jun 06
1
Re: [R] Printing Lattice Graphs from Windows (PR#6948)
Hi, Duncan: I just did "plot(1:2)" in Rgui.exe, and that copied fine as a metafile into MS Word via the clipboard. Then I exited and restarted Rterm.exe under ESS and tried it again. This time, I got a blank image copied into MS Word. However, after I modified the Lattice defaults via, "trellis.par.set('background', list('white'));
2004 Jun 06
1
Re: [R] Printing Lattice Graphs from Windows (PR#6947)
I agree: It sounds like a bug, as you said, Irk, in that Rgui.exe cannot copy a metafile to the clipboard, at least under MS Windows 2000, 5.00.2195, Service Pack 3, even though Rterm.exe can. Therefore, I'm including "r-bugs@biostat.ku.dk" in the list of addresses to this email. Spencer Graves Irk Eddelbuettel wrote: >On Sun, Jun 06, 2004 at 12:26:45PM -0700,
2004 May 08
2
metafile copy and R 1.9.0
Dear all, I'm running into problem in R-1.9.0 that hasn't happened with R-1.8.x If I make a plot with xyplot(), and use the menu to either save to a metafile or copy to clipboard as a metafile to export to eg Powerpoint, I can just copy a blank then. This does not occur with the classical plot(). Thus, I suppose that it may come from lattice or grid (going through the R-archives I
2007 Apr 06
2
lm() intercept at the end, rather than at the beginning
Hi, I wonder if someone has already figured out a way of making summary(mylm) # where mylm is an object of the class lm() to print the "(Intercept)" at the last line, rather than the first line of the output. I don't know about, say, biostatistics, but in economics the intercept is usually the least interesting of the parameters of a regression model. That's why, say, Stata
2003 Oct 19
2
problem with win.metafile( ): traceback()
For the first error message: > win.metafile(file = "//.../plot1.wmf", + width = 8.5, height = 6.25) > lset( list( background = list(col = "white"))) Error in get(x, envir, mode, inherits) : variable "win.metafile://.../plot1.wmf" was not found > traceback() 4: get(device) 3: trellis.device(device = .Device, new = FALSE) 2: trellis.par.get(item) 1:
2002 Jan 29
3
lattice dotplot and graphic devices on Windows
I am using R1.4.0 on WindowsNT (the precompiled version from Brian Ripley's website) and the lattice package (version details are at the end of this message). After producing a lattice dotplot, I want to insert the graph into a MicrosoftWord document. With "ordinary" R-graphics, I have done this successfully by copying the graph as a metafile to the clipboard and pasting this into my
2000 Mar 02
1
Graphs in Windows 95/95
Dear R-Listers, I'm a new R user and I've got some problems with copying/saving graphs in Windows Metafile Format. If I copy a graph from the R window (in Enhanced Metafile Format) and then paste it in WinWord 95, then everything is fine, apart from the fact that a) lines become a little bit thicker when the graph is printed; and b) dotted lines loose a little bit of resolution. However,
2008 May 29
1
Help for R on Windows for non-Win-enabled!
Hi Folks, I need help with a query about R on Windows, specifically about graphics devices. I'm advising someone remotely (so it's all by email) who is running R on Windows, while I am not (Linux only). Things have reached the stage where saving graphics plots as Windows metafiles is looming. I've been told that the result of "?device" in Windows is as follows (which is
2002 Mar 13
1
win.metafile and multiple plots
I'm having difficulty using the win.metafile command. I'd like to place three plots in one window and then save the window as a metafile. The commands I want to use are: win.metafile("mike.emf",width=3,height=2,pointsize=10) nf <- layout(matrix(c(1,2,3), 3, 1), heights=c(1,1,1)) layout.show(nf) plot(rnorm(10)) plot(rnorm(10)) plot(rnorm(10)) dev.off() However, I get the