search for: myhistogram

Displaying 2 results from an estimated 2 matches for "myhistogram".

Did you mean: histogram
2006 Aug 13
2
Vector Join
Hi, I'm working on producing a simple cumulative frequency distribution. Thanks to the help of the good people on this list I now have four vectors that I'd like to join/relate into a table. e.g. v1 <- myHistogram$breaks # classes v2 <- myHistogram$counts # freqs v3 <- cumsum(v2) # cumulative freq v4 <- ((v3 / length(myData)) * 100) # cumulative % What is the recommend approach to turning these into a single table with four columns? ie effectively doin...
2008 Dec 12
0
Trellis margins settings so that they are like a base graphic with no figure region when printed to png file?
...t=18) par(mar=c(0,0,0,0), oma=c(0,0,0,0)) hist(rnorm(100), main="") dev.off() Now I want a grid graphics output as I need the graphic as an object. I tried several trellis.par settings but I was not able to figure it out (PROBLEM (1)). Up to now it looks like this: myHistogram <- histogram(rnorm(100), xlab="", ylab="", par.settings=list( axis.line=list(col="transparent"), xlab.text=list(col="transparent"), ylab.text=list(col="transparent"), axis.text=list(col="transparent")...