similar to: lattice and display

Displaying 20 results from an estimated 4000 matches similar to: "lattice and display"

2002 Dec 19
2
list to data.frame
R Help- I have a list of 102 vectors all of the same type and length called time.by.orig. I can't data.frame(time.by.orig) but I can data.frame(time.by.orig[1:length(time.by.orig)]). Why is this? Thanks for your help. str(time.by.orig) List of 102 $ 1 : num [1:102] 1.34 17.39 14.36 14.22 7.56 ... $ 2 : num [1:102] 17.5 0.7 17.7 12.4 10.4 ... $ 3 : num [1:102] 14.063 17.568
2003 Aug 06
2
(no subject)
Hi everybody, Hope your are not all on holyday because I've got a problem that is going to drive me crazy... I would like to remove some rows from a dataframe. The rows correspond to some specific indexes which I can get by looking at the name in the first column of my dataset. But I manage to get only the opposite of what I really want (function #1) #Function#1:
2002 Sep 24
2
Iterative data.frame
Hi, I would like to create data.frame and increment their name to finally merge them. Does anybody has a solution ? Something like that ? n<-6 for (i in 1:n) { m[i]<-data.frame(name,value) m<-merge(m[i]:m[n]) } Nolwenn ******************************************** Nolwenn Le Meur INSERM U533 Facult? de m?decine 1, rue Gaston Veil 44035 Nantes Cedex 1 France Tel:
2002 Aug 23
2
axis() plot() - step
Hi, Stupid question I guess but I can't figure out how to have a span of 0.5 instead of 1 in my graph. Actually, I want to create a plot with x(-2,2) and y(-2,2) and an step of 0.5 along the axis. Does somebody can help me ? Is it in par(), axis() or plot() that I have to add something ? Thanks Nolwenn *------------------------------------------* Nolwenn Le Meur INSERM U533 Facult? de
2002 Jun 17
2
layout() and postscript()
HI, I would like to know if it's possible to create a postscript file with multiple graphs . I'm creating some graphs by the means of a loop and I want to save each graph in the same file (splitting making the device by the number of graphs). Do I have to use the par(matrix()) option, the layout() function or the split.screen() one ? Thanks Nolwenn
2002 May 30
3
savePlot without displaying it
Hi, I would like to save a plot without opening the device window (no display). Is it possible ? How can I do it ? Thanks Nolwenn *------------------------------------------* Nolwenn Le Meur INSERM U533 Facult? de M?decine 1, rue Gaston Veil 44035 Nantes cedex 1 t?l: +33(0)2-40-41-29-86 fax: +33(0)2-40-41-29-50 e-mail: nolwenn.lemeur at nantes.inserm.fr
2003 Nov 28
1
mark axis
Maybe a stupid question: In a plot, which parameter(s) ables to visualize the axis like in a coplot where the axis is also visible in the plot background ? Thanks Nolwenn ******************************************** Nolwenn Le Meur INSERM U533 Facult? de m?decine 1, rue Gaston Veil 44035 Nantes Cedex 1 France Tel: (+33)-2-40-41-29-86 (office) (+33)-2-40-41-28-44 (secretary)
2003 Jun 05
1
Logical vectors
Hi everybody, just a quick question that drives me crazy: Is it possible to "join" 2 logical vectors ? i.e. x<-4 ind <- 1:19200 pin <- c(0, rep(400, 48) * (1:48)) ind1<-((pin[j] + 1) <= ind) & (ind <= pin[j + 2]) ind2<-((pin[j+x] + 1) <= ind) & (ind <= pin[j+x + 2]) ind2 and ind1 give the right TRUE index #but I would like something like that
2004 Apr 09
1
generating 00Index.html
Hi, I've started to create the documentation of my package. I've generate a pdf and the different html files from .Rd files. However I don't know how to automatically generate the 00Index.html. Do I have to write one in latex style and convert it or can I use the CONTENTS, INDEX, or Rd files. Thanks Nolwenn ******************************************** Nolwenn Le Meur INSERM U533
2002 Oct 16
0
CGI and RSPerl
Hi, Does anybody try to write CGI script using RSPerl package ? I am interested in RWeb but that doesn't really do what I want. In fact I would like the user to load the file to analyze; then a R program will treat the data ,display resulting graphs and save results in text files. I have test the following script by John Barnett without success. #!/usr/lib/R/bin/R.bin --source
2006 Jun 01
3
Key titles in Lattice
Hi, I'm creating some lattice plots that have a key and I'd like to put a label on the key. The problem is that the text label for the key prevents the values of the group variables from being shown (see example below). I don't think that this is a feature, but I might be abusing the title arg for key. I'm using R Version 2.3.0 (2006-04-24) on Windows XP and lattice V0.13-8
2005 Jul 25
1
order of panels in xyplot
I'm having trouble with the order of the panels using xyplot. I had used this bit of code before and received the desired plot (the code was not identical, but very similar; perhaps more importantly I was working with an older version of R) . Now the panels appear right to left instead of left to right, as it says in the help files, which is what I would like. Does anyone know if this has
2011 Mar 15
1
Bug in lattice auto.key argument
The Lattice auto.key argument has a bug in R.12.2. R version 2.12.2 (2011-02-25) Platform: i386-pc-mingw32/i386 (32-bit) .... other attached packages: [1] lattice_0.19-17 loaded via a namespace (and not attached): [1] grid_2.12.2 If I set up my plot parameters as require(lattice) superpose.line.settings <- trellis.par.get("superpose.line") str(superpose.line.settings)
2003 Aug 29
2
Lattice plot questions
Win2k, R1.7.1: I am currently working with some growth curve data from a biotoxicology experiment. Each of 12 subjects had their blood drawn at 0, 2, 4, 6, 8, and 10 weeks. For the purposes of the project, it would be helpful if I were able to do the following: a. Produce 12 panels, each displaying the *same* data, with the "strip" at the top of a particular panel showing
2005 Feb 10
1
xyplot() question
Dear R Users, I have an xyplot() where different plotting symbols are used for subgroups (originally used within S-Plus, but hopefully it?s also applicable to R users). How can I fit separate regression lines for every subgroup? So far, I can only plot the overall fitted line. The code looks like this: trellis.device() sps<-trellis.par.get("superpose.symbol") sps$pch<-1:7
2011 Feb 21
1
wrong lines in auto.key xyplot
Hi all, I'm having a problem with the auto.key function in xyplot. I changed the symbols an lines styles using these commands trellis.par.set(superpose.symbol=list(pch=c(0,1,2,3,4,5,6,8,15,16))) trellis.par.set(superpose.symbol=list(col=c(rep("black",11)))) trellis.par.set(superpose.symbol=list(cex=c(rep(0.6,11))))
2007 Nov 30
1
Set panel background color in a multi-group trellis plot
Hi everyone, I am trying to change some of the default colors in a multipanel-multigroup lattice graphic, but when I change the panel color to white, the only group that is plotted is the last one, as panel.fill overwrites all the previous ones. Is there any way to set the panel background color for the first panel to a color and keep the rest transparent? My code looks like this: #first set
2012 Apr 29
2
Xy plot help
Dear R group, Tried to turn off the html in yahoo.  So far  not successful.  Apologies! I tried to get xyplot shrink fit for my mixed model.  But, the mixed model line is not seen in the graph. I would like to know if there is anything wrong with my code. Thanks, A.K. (fm1 <- lmer(Response3 ~1+ Wavelength*Start_Resp*time + (1|resid) + (1+time|Subject_BDat), family=binomial, data=Behavdat,
2006 Aug 29
2
lattice and several groups
Dear R-list, I would like to use the lattice library to show several groups on the same graph. Here's my example : ## the data f1 <- factor(c("mod1","mod2","mod3"),levels=c("mod1","mod2","mod3")) f1 <- rep(f1,3) f2 <-
2006 Jul 10
2
Setting the colors of lines in a trellis plot...
With some help from those with expertise on this list, I managed to produce a plot using trellis that looked like I wanted it to look. Now, I need to take the same plot and make the lines on it color, but I want to specify the color for the lines myself. I've managed to make the key use the colors I want. I've managed to make the symbols of the actual plot use the colors I want. But I