similar to: Plotting second axes outside xyplot

Displaying 20 results from an estimated 3000 matches similar to: "Plotting second axes outside xyplot"

2010 Jul 12
2
Xyplot or Tin-R problem?
I ran the following script from xyplot Examples using Tin-R on Windows and saw no plot produced. EE <- equal.count(ethanol$E, number=9, overlap=1/4) xyplot(NOx ~ C | EE, data=ethanol, prepanel = function(x,y) prepanel.loess(x, y, span=1), xlab="Compression Ratio", ylab="NOx (micrograms/J)", panel = function(x,y) { panel.grid()(h = -1, v=2)
2008 Nov 19
1
Buggy trellis.focus() with xyplot ?
Hi: (Tried to find a bug report about this issue, but was unable to find it, let me know if this is a known issue) I have been working on an interface to highlight xyplot panels on mouse overs in JavaGD but I have stumbled with what seems to be a bug in trellis.focus. I am using R 2.8 with lattice 0.17-15 *** To replicate the bug: 1.- display an xyplot. For example, from the xyplot help page:
2010 Apr 09
2
lattice background grid
Hi, I wonder if anyone knows how to control color and darkness of the background grid generated by ' type = c("g", "p") ' in a lattice plot (e.g., in xyplot). The documentation does not seem to offer a way to change them. Thanks a lot! Wen
2010 Jan 01
3
loess() crashes R on my system
Greetings and happy new year! I am in the process of converting some of the old S-PLUS scripts from Visualizing Data (Cleveland, 1993) into lattice. In fact, I did most of it several years ago, and at the time, all of the scripts that contained loess() worked fine. Tonight, I ran most of the scripts again, but every one that I tried with a loess() call crashed R. I tried it in two sessions, one
2008 Nov 19
0
Buggy trellis.focus() with xyplot in JavaGD ?
Hi: (Tried to find a bug report about this issue, but was unable to find it, let me know if this is a known issue) I have been working on an interface to highlight xyplot panels on mouse overs in JavaGD but I have stumbled with what seems to be a bug in trellis.focus. I am using JGR R 2.8 with lattice 0.17-15 Note: It's important to you use JGR to use the Java Graphics Device. *** To
2006 Mar 29
2
bivariate case in Local Polynomials regression
Hi: I am using the package "KernSmooth" to do the local polynomial regression. However, it seems the function "locpoly" can only deal with univariate covaraite. I wonder is there any kernel smoothing package in R can deal with bivariate covariates? I also checked the package "lcofit" in which function "lcofit" can indeed deal with bivariate case. The
2001 Nov 28
3
trellis plot
Hi, I'd like to plot 4 groups of data using xyplot and panel.superpose so that the points are overlayed on a single plot. For each group of data I'd also like a loess smoothed function (using panel.loess). I have tried the following: xyplot(series ~ time | gr, data=etable, panel = function(x,y, ...) { panel.superpose(x,y, ...) panel.loess(x,y,span=.15)
2003 Mar 08
2
Looking for non-central F quantile
Greetings all, I'm trying to figure out how to calculate the inverse CDF (i.e. a quantile) for a non-central F distribution. I could put together a quick numerical solver routine using the CDF, but I wonder if there's a function that I've missed that would be more efficient? Thank-you, Andrew Andrew Robinson Ph: 208 885 7115 Department of Forest Resources Fa: 208 885
2005 Apr 19
2
Odd diagnostic plots in mixed-effects models
Dear R community, In the excellent nlme package the default diagnostic plot graphs the innermost residuals against innermost fitted values. I recently fit a mixed-effects model in which there was a very clear positive linear trend in this plot. I inferred that this trend occurred because my fixed effect was a two-level factor, and my random effect was a 12-level factor. The negative residuals
2004 Nov 10
1
List seems to drop empty levels of factors when containin g them
I don't get the same result, do you have a package loaded that would change the default behavior (such as Hmisc)? > list(grp.1) [[1]] [1] 1 2 Levels: 1 2 > list(grp.1[mask]) [[1]] [1] 1 Levels: 1 2 > library(Hmisc) <<snip>> > list(grp.1[mask]) [[1]] [1] 1 Levels: 1 --Matt > version _ platform i386-pc-mingw32 arch i386 os
2002 Jul 18
3
Oddity with names
Hi all, I'm using R 1.5.1 on Windows 2000. The following snippet of code doesn't seem to do anything - no error is reported, and there is no name change. names(myFrame[,c(1:3)]) <- c("name1", "name2", "name3") This code however works nicely: names(myFrame)[c(1:3)] <- c("name1", "name2", "name3") Can anyone suggest why
2002 Jul 07
2
R on Sharp Zaurus 5500?
Hello, has anyone tried to get R running on a Sharp Zaurus 5500? Andrew Andrew Robinson Phone: 208-885-7115 Department of Forest Resources Fax: 208-885-6226 University of Idaho E: andrewr at uidaho.edu Po Box 441133 WWW: http://www.uidaho.edu/~andrewr Moscow, ID 83843 and: http://www.biometrics.uidaho.edu/ No statement above
2005 Mar 15
2
How to plot points as numbers/strings in lattice
Hello, I would be very grateful if anyone could help with what seems like a simple lattice task. I want to use xyplot, where the symbols for the plotted points are taken from another column in the data frame. So if the data frame looked like: a <- as.data.frame(matrix(data=c(1,1,10,2,2,20,3,3,30), nrow=3, ncol=3, byrow=TRUE)) a V1 V2 V3 1 1 1 10 2 2 2 20 3 3 3 30 you would get
2003 Sep 01
1
par(new=T) works differently in pdf vs postscript if applied before a plot statement. (PR#4037)
If I place par(new=T) before I create a plot in a script that is sent to a pdf device, the pdf is unopenable and reports itself as having no pages. The postscript device seems to ignore the par instruction. I guess one of these is a bug, but I don't know which one! --please do not edit the information below-- Version: platform = i386-pc-linux-gnu arch = i386 os = linux-gnu system =
2003 Apr 13
2
Peculiarity in non-central qchisq for ncp > 294.92 ...
Hello all, Here's my query: Running R 1.6.2 on FreeBSD 5.0, and on WinXP, and I find that the following hangs the process: dchisq(alpha=0.01, df=1, ncp=295) but it does work for ncp < 294.92. Is this general? Best wishes to all, Andrew Andrew Robinson Ph: 208 885 7115 Department of Forest Resources Fa: 208 885 6226 University of Idaho E : andrewr at uidaho.edu PO
2005 Jan 02
2
How to quieten axis() for Sweave: avoid echoing NULL?
Dear R-community, I'm using Sweave to produce reports. The reports require the "axis" command. When I run axis the program returns NULL as well as creating the axis. > plot(1:4, rnorm(4), axes=FALSE) > axis(1, 1:4, LETTERS[1:4]) NULL > So, my Sweave tex files have \begin{Schunk} \begin{Soutput} NULL \end{Soutput} \end{Schunk} in front of each graphic that requires
2004 Mar 10
1
Non-linear regression problem: R vs JMP (long)
Dear R friends, I know that this topic has been mulled over before, and that there is a substantial difference between the convergence criteria for JMP and those for R. I apologize that this is somwehat raking cold coals. Summary: A model/data combination achieves convergence in JMP, and survives a reasonably rigorous examination (sensible parameter estimates, well-behaved surface,
2002 Dec 06
3
smooth curves
I would like to draw smooth curves instead of polygons. I could not find any spline function to do that : given an x and a y vectors, they all take the x in increasing order. Is there a function to draw a smooth curve through a set of points in any order ? with many thanks in advance Alain Guerreau CNRS Paris [[alternate HTML version deleted]]
2004 Apr 06
0
Curious about nomenclature: random deviates
< Does anyone know why they're called random deviates, as opposed to random numbers?> Others will probably give you some technical reason about random numbers can be considered as random deviates from a mean (I think at least the 1875 Galton paper at http://www.mugu.com/galton/ uses similar terminology (I'm not claiming this is the earliest use - just the easiest to access at the
2008 Aug 25
1
small spline regression example
Dear R People: Could someone recommend a small example for spline regression, please? I would like to show this to my students, step by step. Thanks in advance, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: erinm.hodgess at gmail.com