Re: [R] Generating a Special Histogram

2017-01-05 Thread Jim Lemon
Hi Dan, This may help if your data is in the format below: waffle.mat<-matrix(c(rep(NA,14),137,135,rep(NA,6),144,149, rep(NA,3),150,152,159,157,154, NA,163,164,164,161,162,165,164,rep(NA,5),179,173,173, rep(NA,4),182,180,185,180, rep(NA,6),197,190,rep(NA,8)),ncol=9)

Re: [R] Generating a Special Histogram

2017-01-05 Thread David L Carlson
0:47 AM To: Dan Abner; r-help@r-project.org Subject: Re: [R] Generating a Special Histogram On 05/01/2017 11:01 AM, Dan Abner wrote: > Hi all, > > Is anyone aware of a package, function, or general R trick that would make > generating histograms like the one in the attachment easy

Re: [R] Generating a Special Histogram

2017-01-05 Thread Duncan Murdoch
On 05/01/2017 11:01 AM, Dan Abner wrote: Hi all, Is anyone aware of a package, function, or general R trick that would make generating histograms like the one in the attachment easy in R (i.e., without manually drawing each individual horizontal line and specifying the coordinates for a textbox

Re: [R] Generating a Special Histogram

2017-01-05 Thread Sarah Goslee
Hi Dan, I'd probably start by looking at the various examples for stem and leaf plot in R. stem() or aplpack::stem.leaf() might help you get started, or if you don't need the fancy boxes, be sufficient. Sarah On Thu, Jan 5, 2017 at 11:01 AM, Dan Abner wrote: > Hi all, >

Re: [R] Generating a Special Histogram

2017-01-05 Thread Richard M. Heiberger
I recommend the stem function. > stem(wt) The decimal point is 1 digit(s) to the right of the | 12 | 57 14 | 4902479 16 | 1233444349 18 | 002507 > stem(wt, 2) The decimal point is 1 digit(s) to the right of the | 13 | 57 14 | 49 15 | 02479 16 | 1233444 17 | 349 18 |

[R] Generating a Special Histogram

2017-01-05 Thread Dan Abner
Hi all, Is anyone aware of a package, function, or general R trick that would make generating histograms like the one in the attachment easy in R (i.e., without manually drawing each individual horizontal line and specifying the coordinates for a textbox for each number)? I need to make ~12 of