search for: ffd18f

Displaying 3 results from an estimated 3 matches for "ffd18f".

2003 Apr 04
3
trellis.graphic in for-loop
...th(xnames)]," - high",sep="")->xnames[length(xnames)] z1[,1]<-xnames as.factor(z1[,1])->z1[,1] barchart( horizontal=FALSE, z1[,2]~z1[,1], ylab=list("% frequency",cex=1.5), main=list(varnames[i],cex=1.25), scales=list(1,cex=1.5), col="#ffd18f", sub=list("Rating",cex=1.25) ) filename<-paste("test",i,"_q21k.jpg",sep="") #dev.print(jpeg, filename , width=1000, height=1000, quality=100, bg="white", pointsize=20) } [[alternate HTML version deleted]]
2010 Aug 14
1
How to add lines to lattice plot produced by rms::bplot
I have a plot produced by function bplot (package = rms) that is really a lattice plot (class="trellis"). It is similar to this plot produced by a very minor modification of the first example on the bplot help page: requiere(rms) n <- 1000 # define sample size set.seed(17) # so can reproduce the results age <- rnorm(n, 50, 10) blood.pressure <- rnorm(n, 120,
2011 Aug 28
1
Help with levelplot color assignment in lattice
Dear R users, I'm currently trying to make level plots of a longitudinal study of the spatio-temporal spread of a plant disease in a field, but the results of the color key assignment isn't what I expect. Here's more info. I recorded the level of a disease on an ordinal scale from 0 (no disease) to 9 (dead plant) on a grid that has 9 rows and 14 columns. The disease level on each