similar to: label *on the side* in conditional lattice plots?

Displaying 20 results from an estimated 2000 matches similar to: "label *on the side* in conditional lattice plots?"

2005 Aug 20
1
plot(type="h") equivalent in Lattice?
I tend to prefer doing graphics in R using the lattice library. I'm "porting" some old scripts. Is there a nice way to get in lattice the equivalent of the plot(type='h'), which is the high-density lines/histogram plot in base graphics package? I tried doing this with barchart(), but with limited success... the fact that I have ~1000 datapoints/bars causes problems, in
2008 Feb 19
1
Two bwplots in one single graph
Dear list, With the below codes, I got 8 bwplots but I would like to put 2 bwplots in one single graph so that instead of 8 separate bwplots I would have 4 graphs, each contains 2 bwplots. How can I do that? Another question is how do I add the mean as a point to each boxplot in the bwplot but also keeping the median line. for (i in 1:length(dat)){ windows() with(dat[[i]],
2005 Nov 03
0
multivariate nonparametric regression with e >= 0
Hello all, I'm a relatively new user of R, having mostly used it only for plotting so far. I'm also not very familiar with regression methods, hence forgive my greenness on the topic. What I want to do in R is multivariate nonparametric regression, with a slight hitch. From my experimental data I have a multitude of samples whose values approximate a function `f' that is defined
2006 Feb 06
2
turn off selected axes in bwplot
I want to turn off selected axes in bwplot. I would like to only have the bottom axis drawn, with the others off. I have a series of bwplots that I want on one device, like this: p1<-bwplot(x1,box.ratio=.1) p2<-bwplot(x2,box.ratio=.1) ... print(p1,position=c(0,.8,1,1),more=T) print(p2,position=c(0,.6,1,.8),more=T) ... I know about the panel functions panel.bwplot() and panel.axis(), but
2004 Nov 20
1
how to suppress whiskers in a bwplot?
dear R-help, i have looked carefully through the R-help archives for information on how to suppress whiskers in a bwplot. someone asked this question a while ago, but the answer he received is not available in the archives. but i did manage to get my hands on a panel function (called "my.panel") that is supposed to do this (the function is reproduced at the end of the email, below).
2002 Sep 25
2
Re-ordering the order of lattice graphics panels
Dear all I have made some lattice graphs (bwplot(dead ~ treat | group,...). 'group' is a factor with three levels (Artemia larvae, Abalone larvae and Abalone spat), and the result is a graph with three panels corresponding to the levels in 'group', ordered in alphabetical order from bottom to top, as expected. How does one re-order the order in which the levels of
2010 Apr 16
6
bwplot puts the bars in the wrong place
Dear R-Help, With the attached data set, I am still getting incorrect bwplots > xyplot(gdf$tt~gdf$OnHour |gdf$Runway, data=gdf) # Is correct > bwplot(gdf$tt~gdf$OnHour |gdf$Runway, data=gdf, horizontal=FALSE) # Puts the boxes on the wrong x-axis values # look especially at 0 and 3. How do I fix this? What is happening? Thanks, Jim Rome
2012 Jul 29
1
Return od functions
Hi! I have some questions about R function. I try to write a function for multi-returns. The function code is as attachment. dgp.par<-function(ai, bi, t, n) { t0<-t+20 y0<-matrix(0, nr=t0, nc=n) y0[1,]<-ai/(1-bi) for(tt in 2:t0) { y0[tt,]<-ai+bi*y0[tt-1,]+rnorm(n, 0, 1) } y<-y0[21:t0,] x<-y0[20:t0-1,] z<-y0[19:t0-2,] z<-z[2:t,] dy<-y[2:t,]-y[1:t-1,]
2004 Feb 16
1
2 bwplots - different colors
Hi all, I would like to draw one picture which would show two different types of boxplots using the same axes (kind of on top of each other). However, I would like to plot each boxplot using a different color or different shading inside the box, so they could be better distinquished from each other... Could you help me? Here is an example of the plot I have so far. I was only able to change the
2009 Feb 20
2
Grouped bwplots?
Dear list, I am sorry for asking you this, but I am trying to do again what I thought I have done before, although this time it does not work. So, given the data set: > testdf <- data.frame(grfak=sample(c("One","Two"),size=100,replace=TRUE), panfak= sample(c("Yes","No"),size=100,replace=TRUE), xfak=
2008 Aug 16
4
Lattice: problem using panel.superpose and panel.groups
Hi. I'm embarking on my first attempt at creating my own panel function for lattice graphics, and despite all of my online research and pouring through the documentation, I cannot figure out how to solve my particular problem. Hopefully, a generous fellow R user can help. I have some data that is split into two groups: some "actual" data, and some simulated data,
2002 Sep 27
3
[Bug 405] getaddrinfo delays
http://bugzilla.mindrot.org/show_bug.cgi?id=405 ------- Additional Comments From dgp at nist.gov 2002-09-28 03:39 ------- BTW, it seems strange to me that when HAVE_GETADDRINFO is undefined or false, the code still makes calls to getaddrinfo(). Is this configuration support just incomplete? ------- You are receiving this mail because: ------- You are the assignee for the bug, or are
2003 Sep 25
1
Time Series DGPs
I was wondering if anyone had some sample time series dgp code. I am particularly interested in examples of autoregressive processes and error correction model DGPs. I have attached a more specific example of what I mean. I have tried myself but would hoping someone had some more elegant code that would help me extend my own code. Thanks Luke Keele UNC-Chapel Hill Nuffield College, Oxford
2010 Nov 02
1
Colour filling in panel.bwplot from lattice
Inspired by colouring the dots of box-whisker plots I am trying to also fill the boxes (rectangles) with different colours. This seems not to work as I expected. Looking at the help page of panel.bwplot it says: 'fill - color to fill the boxplot'. Obviously it is only intended to fill all boxes with only one colour? Nevertheless the following example shows, that 'fill' from
2006 Feb 26
2
How to produce notches in bwplot?
Dear r-helpers, tst <- data.frame(as.numeric(x <- 1:20), f <- rep(c('hi','lo'), times = 10)) with(tst, bwplot(f ~ x, panel = function(x, y){panel.bwplot(x, y, pch = '|', stats = boxplot.stats, fill = 8, varwidth = T)})) I can't figure out from the documentation how to tell stats that I would like to see notches or (even bands). Here is what I've
2007 Apr 26
2
evaluation in unattached namespace
Hi, I recently discovered this buglet in lattice: If lattice is _not_ attached, I get > lattice::dotplot(~1:10) Error in eval(expr, envir, enclos) : could not find function "bwplot" This happens because of this: > lattice:::dotplot.formula function (x, data = NULL, panel = "panel.dotplot", ...) { ocall <- ccall <- match.call() ccall$data <- data
2004 Sep 17
2
lattice: bwplot and panel.lmline()
On Friday 17 September 2004 13:52, RenE J.V. Bertin wrote: > Hello again, > > I am doing regressions (using panel.lmline() (and panel.abline( > rlm(...))) ) inside a panel method which I pass to bwplot(). > > What I would like to do is create a boxplot of categorised data > (binned on the independent variable), and superpose a regression line > which is calculated using the
2004 Jul 09
3
Problem with bwplot
Try factor(vec2) in your bwplot() call. -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of Ernesto Jardim Sent: Friday, July 09, 2004 9:41 AM To: Mailing List R Subject: [R] Problem with bwplot Hi, I'm ploting some box-and-whisker plots with bwplot but I'm not getting any box-and-whiskers ... just dots.
2005 Jan 17
2
bwplot: how not to draw outliers
RenE J.V. Bertin wrote: > Hello, and (somewhat belated) best wishes for 2005. > > Can one order not to draw outliers in bwplot, or at least exclude them from the vertical axis scaling? If so, how (or what doc do I need to consult)? > The options that have this effect in boxplot() do not appear to have any effect with bwplot (although outline=FALSE in boxplot does *not* change the
2011 May 01
2
bwplot in ascending order
Can anyone point me to examples with R code where bwplot in lattice is used to order the boxes in ascending order? I have found the following discussion and it partly works. But, I have a conditioning variable, so my example is more like bwplot(var1 ~ var2|condition, dat) Th example in the discussion below works only when there is not a conditioning variable as far as I can tell. I can tweak the