similar to: 2 bwplots - different colors

Displaying 20 results from an estimated 2000 matches similar to: "2 bwplots - different colors"

2005 Apr 07
4
sweave bwplot error
Hi I use sweave and have a problem with the following figure, but not with other figures: tt <- data.frame(c("a", "b", "c"), c(1.2, 3, 4.5)) names(tt) <- c("x1", "x2") bwplot(x2 ~x1, data = tt) ok now in sweave: \begin{figure}[H] \begin{center} <<echo=FALSE, fig=TRUE, height=5, width=10>>= lset(col.whitebg()) bwplot(x2 ~x1,
2003 Oct 28
1
'levelplot' with an option 'at'
Hi all, I encountered a difference between versions 1.6.1 and 1.7.0 when using levelplot with an option 'at'. Here are the specs of the two platforms used: > R.version _ platform sparc-sun-solaris2.8 arch sparc os solaris2.8 system sparc, solaris2.8 status major 1 minor 6.1 year 2002 month 11 day 01 language R > R.version _ platform
2002 Sep 23
4
How do I change plot colors in bwplot
Hello, I'm using bwplot to make a few plots. The plots are exactly what I need, but are coming out with a grey background and turquoise boxes and whiskers. I cannot figure out how to just get black and white to be the default. Can anyone help me with this? Thanks Kenneth E. Nussear Phone 775 784-1703 Ecology, Evolution and FAX 775 784-1369
2003 Aug 05
2
bwplot colours
Dear All, is any way I can change the colours of the box and umbrella of a bwplot without having to go to the length of: box.rectangle<-trellis.par.get("box.rectangle") box.rectangle$col<-"black" trellis.par.set("box.rectangle", box.rectangle) etc... but straight from the call: bwplot(y ~ x | z, mydata) ? Regards, Federico Calboli
2001 Jun 01
1
Installing Rstreams lib
Dear R-helpers, I am trying to install Rstreams library on the following platform: ---------------------------- platform alphaev67-dec-osf5.0 arch alphaev67 os osf5.0 system alphaev67, osf5.0 status major 1 minor 2.3 year 2001 month 04 day 26 language R --------------------------- Unfortunately, I get these error messages: --------------------------- > [557] R
2004 Aug 03
1
(Lattice) How to improve the readability of a bwplot, i.e. separating groups somehow
Hi all, first of all thanks for the answer to my previous question on lattice some time ago. In particular to Patrick Connolly for advices on netiquette (I hope this time I'm doing right....) and to Deepayan Sarkar fro the help on lattice. Now, my nowaday problem. Please consider the following mydf<-cbind.data.frame( RESPONSE = c(rnorm(9,rep(2:4,each=3),10),
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]],
2003 Jun 14
2
A sapply() funny.
The sapply function is refusing to return a result for what seem to me to be mysterious reasons. Here is a toy example: set.seed(111) X <- list(x=runif(20),y=runif(20)) rvec <- seq(0.01,0.15,length=42) foo <- function(x,X,cc) { mean((X$x)^x + (X$y)^cc) } bar <- function(x,a,b){a+b*x} try.b <- sapply(rvec,bar,a=1,b=2) # This runs without a problem and
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=
2003 Nov 08
1
notation for skewness and kurtosis
Hello everybody, this is a bit off topic, so maybe you can just reply to me personally... What is the typical notation for 'skewness', 'kurtosis' and maybe 'excess kurtosis'? Thank you, Martina -------------------------------------------------------------------------- Department of Statistics Office Phone: (614) 292-1567 1958 Neil Avenue, 304E Cockins Hall
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 Mar 16
2
graphical interface
Dear R users,, I'm having difficulties when i use the gstat extensions in R especially with the graphical interface, as the variograms plots are depicted with gray background and cyan points for the number of pairs, Consequently the fitted variogram is drawn in cyan, How can i change that so i could have, white background and black lines for the fitted variogram, for the complete plot.
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
2013 Apr 07
4
Same boxplot colors by panels in lattice (bwplot)
Dear all, I would like to have the same color for the all boxplots from the same panel, but my code below shows the two colors alternating. Thanks! set.seed(42) D1 <- rnorm(200) D2 <- factor(sample(letters[1:2],200,TRUE)) D3 <- factor(sample(letters[3:5],200,TRUE)) DF <- data.frame(x=D1,a=D2,b=D3) print(bwplot(b~x|a,data=DF,col=c("black","black"),
2010 Oct 11
1
Lattice::bwplot unexpected behaviour when using vector of colors
Hi, I'm trying to produce colored boxplots using lattice::bwplot function. I need to plot each boxplot in the panel with a specific color. Naturally I used a vector of colors and expected to see colored boxplots. Although the boxplots were colored, the color of whiskers and the boxes do not match. Here is an example: d = data.frame(y = rnorm(100), x=1:4) box.color <-
2010 Oct 11
1
Lattice::bwplot unexpected behaviour when using vector of colors
Hi, I'm trying to produce colored boxplots using lattice::bwplot function. I need to plot each boxplot in the panel with a specific color. Naturally I used a vector of colors and expected to see colored boxplots. Although the boxplots were colored, the color of whiskers and the boxes do not match. Here is an example: d = data.frame(y = rnorm(100), x=1:4) box.color <-
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).
2004 May 01
1
changes to y-axis labels in lmList intervals plot
Dear List, I am plotting lmList objects using plot(intervals()) in nlme package. I want to make changes to the y-axis labels. When I try to change cex of y-axis labels using the following: fm1 <- lmList(distance ~ age | Subject, Orthodont) plot(intervals(fm1), scales=list(y=list(cex = .7))) I receive: Error in bwplot(formula = group ~ intervals | what, data = structure(list( : formal
2002 Apr 24
2
Changing the colour in boxplots using bwplot()
I've managed to find how to change trellis.settings$box.rectangle$col and trellis.settings$box.umbrella$col but I can't figure out how to change the colour of the point used to indicate outliers. There doesn't seem to be a general colour. What am I overlooking? best -- ************************************************************* ___ Patrick Connolly {~._.~}
2010 Jul 23
2
re-ordering bwplot
Dear list: I'm using bwplot to compare concentrations by location and treatment as in: # using built in data bwplot( conc ~ Type : Treatment, data = CO2 ) I would like the order of the plots to be: 3,4,1,2. I can't seem to figure this out with index.cond or permc.cond. Any help is appreciated! Brad Eck [[alternative HTML version deleted]]