similar to: panel.linejoin groups

Displaying 20 results from an estimated 100 matches similar to: "panel.linejoin groups"

2007 Jan 02
1
lattice panel.linejoin type question
Hello R Users! I'm trying to use the panel.linejoin function to draw points and lines (type="o") but it wouldn't do it. Modifying the panel.linejoin function as such (adding type argument to the panel.lines call). *original* panel.lines(vals[xx], yy, col = col.line, lty = lty, lwd = lwd, ...) *modified panel.lines(vals[xx], yy, col = col.line, lty
2012 Jan 24
1
[LLVMdev] Req-sequence, partial defs
Hi, I'm having an issue with subregisters on my target. With a pseudo that writes to a 32 bit reg: %vreg20<def> = toHi16_low0_pseudo %vreg2; reg32:%vreg20 hi16:%vreg2 expands to %vreg2<def> = COPY %a2h; hi16:%vreg2 %vreg43<def> = mov 0, pred:0, pred:%noreg, %ac0<imp-use>, %ac1<imp-use>; lo16:%vreg43 %vreg20<def> =
2008 Mar 07
1
using xyplot with groups and panel.linejoin
Dear All, I am using xyplot() with many groups like this: statselect <- levels(dat$stat) xyplot(relmse~T|lambda, groups=stat, data=dat, panel = panel.superpose, key=simpleKey(statselect, lines=T)) However, I want lines not scatterplots and if I set panel.groups=panel.linejoin that connects the lines according to the relmse and not according the consecutive values of T. Is there
2012 Feb 16
1
[LLVMdev] LLVM: MachineCopyPropagation.cpp
Hi, I have the following code: %a1<def> = COPY %a0<kill> ... %a0h<def> = COPY %a1l , as input to MachineCopyPropagation. The second copy is illegally erased! This is wrong, because it is the low part of a1 that is copied to the high part of a0. At a first glance, it seems that if (!ReservedRegs.test(Def) && (!ReservedRegs.test(Src) ||
2012 Aug 22
1
Controlling line-join style in Lattice
R users, I am creating a series of scatterplots with Lattice's xyplot(). Some of the plotting symbols are squares with thick borders. The corners of the squares are rounded by default; I would like them to be square. In base graphics this is easily done with par(ljoin = "mitre"), and in grid graphics with gpar(linejoin = "mitre"). Is there an analogous parameter in
2012 May 03
1
bwplot: using a numeric variable to position boxplots
[Env: R 2.14.2 / Win Xp] In the examples below, I'm using lattice::bwplot to plot boxplots of 4 variables, grouped by a factor 'epoch' which also corresponds to a numeric year. I'd like to modify the plots to position the boxplots according to the numeric value of year, but I can't figure out how to do this. Also, I'd to modify the strip labels that give the variable
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 Apr 27
2
lattice plot problem!
Hello everybody, Could I consult you two questions? Recently I write some code about lattice plot. 1) bwplot function I know the lattice default background color is grey and the box color is green, but I don't like the color. So I change the background color to white use the > trellis.device(bg="white") then I modify the > panel=function(...) +{ +
2006 Dec 19
2
Random Effects Model
Hello, I am new to R, and I am trying to figure out how to use it for a random effects model. I am using version 2.4.0, and I also have the book Applied Linear Regression by Sanford Weisberg. I have four variables: Swimmer, Sex, Swim, and Difference. Swimmer identifies the number assigned to a particular person. Sex is male/female. Swim identifies the number swim from 1 to 6. Difference
2007 Mar 20
1
lattice key (legend) with both points and lines
Hello, I'm running into a frustrating problem with the legend on a lattice plot I'm working with. The plot is a stripplot with a panel.linejoin () line running through the mean of each of the categories. Thus there are both points and lines in the plot. In trying to make a key for the plot, I can't figure out how to make a legend for both the points and the lines. What I'd
2008 Feb 19
1
Change the color and lines of the legend using bwplot
Dear list, I have following plot, where I have set the color (red and green) and lines (lty=2:3) in the panel.groups but can't not figure out how change the lines and color of the legend in the "key" to the same lines and color as in the panel.groups. bwplot(means ~ age | scales , dat, panel = "panel.superpose", groups = sex,scales = list(x = list(rot =
2008 Mar 31
1
Reorder the x-axis using lattice
Dear list, Is there a way to reorder the xaxis using lattice. Using the following data, the x-axis is ordered as BP GH MH PF RE RP SF VT but I would like the x-axis to be ordered as PF RP BP GH VT SF RE MH. Kön Skalor Tillfälle Medelvärde 1 Kvinnor BP 1-inskrivning 36.45283 2 Kvinnor GH 1-inskrivning 38.62255 3 Kvinnor MH 1-inskrivning 62.88889 4
2013 May 03
1
print multiple plots to jpeg, one lattice and one ggplot2
hello everybody, I want to print two plots in one png file, I tried several options but i didn't succeed the first plot (bwplot) print to the defined position, but the second (ggplot) doesn't Any idea? Thanks a lot Christophe # Example: #------------------------------------- library(ggplot2) library(lattice) library(grid) one <- bwplot(decrease ~ treatment, OrchardSprays, groups
2005 Aug 08
1
Help with doing overlays plots...
I have a data frame with three columns, type (a factor with two values: "Monolithic" and "Compositional"), size (numeric), and states (numeric). I want to create a plot where size goes on the x-axis and states goes on the y-axis. In this plot, I want two lines, one where the type is "Monolithic" and one where the type is "Compositional". I think this can
2010 Oct 19
1
Lattice: type="p" stopped working in panel.average
Hi, The behavior of panel.average has changed. In March 2010, I plotted the attached r_plotViolinOfAnnualE_old.eps. (I don't know the version of R). Today, I plotted the attached r_plotViolinOfAnnualE_new.eps using R version 2.12.0 (2010-10-15). Both figures were produced via the same script: ... plot <- bwplot(year ~ Eann, data=df, horizontal = T, xlab = "E / mSv", ylab =
2009 Oct 03
1
Problem using with panel.average in Lattice package
Hi, I'm having a problem getting the panel.average function to work as I expect it to in a lattice plot. I wish to draw lines between the averages of groups of y-values at specific x-values. I have created a dataset below which is similar to my real data. I also show an example of using panel.loess in place of panel.average; it performs in a manner similar to what I want panel.average to do
2007 Feb 19
2
Calculating the Sharpe ratio
Hi useRs, I am trying to calculate the Sharpe ratio with "sharpe" of the library "tseries". The documentation requires the univariate time series to be a portfolio's cumulated returns. In this case, the example given data(EuStockMarkets) dax <- log(EuStockMarkets[,"FTSE"]) is however not the cumulated returns but rather the daily returns of the FTSE
2009 Nov 02
5
Optimizar código
Hola lista, tengo una base de datos muy grande de un datalogger. Consiste en un vector con 0's y 1's, y tengo que ver cuando hay 600 o más unos seguidos. Se me ocurrió hacerlo con un loop for. Pero tarda demasiado. También intente usar which para que seleccione solo los 1 para empezar a sumar pero no hay gran diferencia. A alguien se le ocurre alguna solución para hacerlo más rápido? Acá
2016 Apr 04
2
multiple bar plot annotation text labelling
Readers, The attempt is to create a bar plot with text labels adjacent to each datum value. Data file: 1,3,A 1,8,B 1,1,C 1,9,D 2,5,C 2,4,E 2,2,F 2,0,G testbarplot<-read.csv('data1.csv', header=FALSE) barplot(axes=FALSE, ann=FALSE, horiz=TRUE, testbarplot[,2], ylab= 'group', xlab= '(x values)', space=c(1,0,0,0, 1,0,0,0)) text(testbarplot[,2], testbarplot[,1],
2002 Jul 15
0
Incompleteness in Lattice documentation (was Re: lattice question: adding slopes to bwplot)
On Mon, 15 Jul 2002 08:39:05 +0100, Paul Hewson <PHewson at devon.gov.uk> wrote regarding "RE: [R] lattice question: adding slopes to bwplot" Hi, Thanks. It made sense indeed: enough to discover the panel.linejoin function which does what I was looking for. <error here> I also understand now why I didn't find this, and associated, routine: