search for: forplot

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

2010 Feb 19
1
Set Colour of Histogram Bars (lattice)
...irst to be a certain colour, second to be another colour, third to be a third colour, and repeat for all my 39 bars. I thought this was the way to go, but I get the same cyan coloured bars for all the bars. I did a vector of 3 colours, hoping it'd recycle them for the other bars. > levels(forPlot$type) [1] "Blah" "Blah 2" "Blah 3" trellis.par.set("plot.polygon$col", c("red", "green", "blue")) histogram( ~ cpgBin:type, data = forPlot, scales = list(x = list(rot = 90)), main = "CpG Density vs. Number Of Our Regions&q...
2010 Apr 12
2
make.groups function of laatice is not working?
I almost wasted 3 hours to make lattice functions work. :(. Phew! I installed package lattice, lattice extra and other supportive packages to use functions 1.make.groups 2.forplot 3.xyplot. I also tried local installing. They are installing very well but not working? Any one have any idea why R is giving me hard time! thanx in advance. I'm getting the following errors Error: could not find function "make.groups" Error: could not find function "xyplot&quo...
2012 Feb 19
2
barplot with more than 1 variable
Dear R listers, I am trying to produce a simple (for a stata user) barplot with 4 countries on the x axis, each country observed in 2 subsequent years and 3 variables. Basically, I should have three bars for each year for each country. I am attaching the chart I made in Stata, but I am not sure you'll manage to see it! I did the following: #here I create the data-set TUSE2. The vectors mw, st