similar to: par(new=T) with xyplot

Displaying 20 results from an estimated 10000 matches similar to: "par(new=T) with xyplot"

2002 Jun 06
0
Thanks and Summary (was par(new=T) with xyplot)
Thanks very much to Paul Murrell and Frank Harrell for addressing my original query (repeated at end of this note). Paul's helpful suggestion with print.trellis and its more= argument, followed by trellis settings, works precisely as I needed. > # snipped from Paul's reply: > p1 <- xyplot(y ~ x, ylim=c(-5, 5)) > p2 <- xyplot(y2 ~ x, pch=16, ylim=c(-5, 5), ylab="
2003 Jan 29
2
browser() misbehavior ?
Under v1.6.2, Windows NT4 OS, when a function contains an execution error and I have placed browser() in inside the function body, the call to browser is ignored. A brief example to illustrate: > foo <- function(x) { + y <- x ^ 2 + browser() + foo2(x) ## Intentional error + x ^ 3 + } > > foo(30) Called from: foo(30) Browse[1]> Error in foo(30) : couldn't find
2003 Jan 15
2
Exception Handling
R Users: How can I catch R errors and depend on this error call other R functions in Perl? The foolowing is the error message when I use perl call R. Error in nls(modout ~ exp(-b1 * modin)/(b2 + b3 * modin), trace = F, start = c(b1 = 0.005, : singular gradient Segmentation fault Thanks, Zhongming
2003 Dec 09
3
axes that meet
R v. 1.7.1, Windows 2000. A particular journal wants me to provide scatter plots with no box, but with axes that meet in the lower left corner. It seems as though there must be an easy way of doing this, but my reading the help on plot.default, axis, and box have not provided any clues. I would be most appreciative of any feedback. Thank you, Hank Stevens Dr. Martin Henry H. Stevens,
2003 May 06
3
how to read a web page and extract an html table?
Hello all, I want to read a table from a given web page. If I do something like > str="http://www...." # this is the web address > aux1 <- url(str,open="rt")# open connection > aux2 <- readLines(aux1) # read web page aux2 contains the html file. I want to extract the table from the html file. Is there a function html2R, the opposite of R2html?
2003 Apr 17
18
Validation of R
Hi All I am really very interested in starting to use R within our company. I particularly like the open source nature of the product. My company is a medical research company which is part of the University of London. We conduct contract virology research for large pharma companies. My question is how do we validate this software? I wonder if anyone else has had the problem and might be able to
2003 Apr 01
2
Autogenerated png, bitmap images
I have two questions - 1. I am trying to create R png graphs via cron. I have this part working using Xvfb (X virtual frame buffer). One problem that I have, though, is that all the fonts on my graphs get messed up. Anybody have any nija R commands to make all fonts look great? Anybody have any idea how to fix this? So far, no luck on Solaris or Linux making the Xvfb fonts look good. I was
2003 Mar 17
4
X11 connection error in web cgi mode only
Dear all, I am trying to create a web interface using Perl-CGI to call R plots and to display them. The following codes works perfectly fine when I copy and paste into the console directly or if I save it into script.file and then R --no-save < script.file producing the graphs. jpeg("graph.jpeg", width=400, height=400) plot(rnorm(100)) dev.off() Now, I put the line system("R
2003 Mar 19
3
The best way to end up with WMF files
Hi all I am doing some stats work for a group of biologists who require windows metafiles (*.wmf) for their publications. To create these, I appear to have two choices: 1. Restart my machine in Windows and use savePlot 2. Keep my machine in linux, save as another format, then convert. I'd rather stay in linux; but how do I get wmf files? I looked at using ImageMagick's convert,
2004 Apr 26
1
Lost graph contents using Copy as metafile
Dear colleagues: I use R 1.9.0 on Windows XP. One of my common tasks is to get R graphs into Word documents. A open windows() device, almost always trellis.device() for me, provides great convenience with the right-click shortcut menu item "Copy as metafile". I typically have the History > Recording feature turned on as well. Since upgrading to 1.9.0, I have experienced an
2003 Jul 17
3
univariate normal mixtures
Hello, I have a concrete statistical question: I have a sample of an univariate mixture of an unknown number (k) of normal distributions, each time with an unknown mean `m_i' and a standard deviation `k * m_i', where k is known factor constant for all the normal distributions. (The `i' is a subscript.) Is there a function in R that can estimate the number of normal distributions k
2003 Jan 31
3
Decreasing my personal entropy ...
R-Listers: A very minor -- and maybe silly -- question just for personal enlightenment. In S (either R or S-Plus, AFAIK) when one types or pastes a trellis graphics command into the commands/console window, the graph is automatically produced: e.g., trellis.device(...) xyplot(y~x) If one puts these in a function and calls the function, the same occurs. However, if one sources in these command
2006 Jan 31
2
Multiple xyplots on the same page
Hi, I am using the "xyplot" function in the "lattice" package to generate multiple plots, but I would like to have them plotted on the same page. I would like to set something equivalent to the command: par(mfrow=c(2,2)), in order that I can plot 4 xyplots on the same page. How can I do this in "xyplot"? I am using R version 2.1.1 on Windows. Thanks very
2001 Nov 14
0
Fitting Pareto dist in a mixture
Dear all: First, apologies for cross-posting multiplicities and for a query that is more analytically related than S-language related. The bottom-line wish is: Could you please provide and advice, references, etc on S software approaches for fitting a distribution with density: p*g(x) + (1-p)*f(x) where g(x) is the familiar lognormal 2-parameter density and f(x) is Pareto as defined below?
2003 Jan 02
0
Summer Internship at Merck (Domestic USA)
(Apologies for cross-posting this job announcement to those on both R-help and S-news.) 2003 SUMMER INTERNSHIP POSITION Domestic United States residents / visitors only. Merck Research Laboratories Rahway, NJ, USA (approx. 30 miles from New York City) 1 position, Ph.D. or Masters student Deadline for Applications: February 14, 2003. Brief Description: Help provide data analytic &
2003 Jul 29
5
Sending emails from R under Windows
Hi Does anyone know of any R routines to send emails from R, under Windows? I thought about writing such a facility using the R(D)COM package to drive e.g. MS Outlook, but I don't want to reinvent the wheel. I have found a function Sys.mail in the library syskern, but this only works under Unix by shelling out a mail command. Thanks, David
2003 Jul 29
5
Sending emails from R under Windows
Hi Does anyone know of any R routines to send emails from R, under Windows? I thought about writing such a facility using the R(D)COM package to drive e.g. MS Outlook, but I don't want to reinvent the wheel. I have found a function Sys.mail in the library syskern, but this only works under Unix by shelling out a mail command. Thanks, David
2011 Apr 11
1
Override col.lines and col.symbol in panel.xyplot with type='b'
Dear useRs, I have a longitudinal experiment with several treatment groups, ~20 subjects per group, ~6 timepoints and a continuous dependent variable. I have been successfully been using lattice::xyplot with this data. However, I have been stumped with a particular application of it. I would like to use xyplot on my data, broken into treatment groups with the groups argument, using
2004 May 26
6
Saving Trellis Graphics in R 1.9.0. (PR#6915)
Full_Name: Zdenek Valenta Version: 1.9.0. OS: Windows XP Submission from: (NULL) (147.231.7.250) I could not copy/save (Trelis) graphics using R version 1.9.0. The graphics displayed normally, but copying/saving it only produced an empty file. Everything works o.k. with R rel. 1.8.1. Best regards, Zdenek Valenta
2002 Aug 19
2
Help with Lattice
Hi: I have started to use Lattice two days ago and find that it is an outstanding package. I am, however, stumbling on two problems, despite the fact that I have read the help pages as well as two pdf documents on Trellis that I found on the web. 1- I want to remove the ticks on the top and right sides of the panels and did not see any option in "scales" to do so. 2- I would like