[R] Generating a Special Histogram
Richard M. Heiberger
rmh at temple.edu
Thu Jan 5 17:11:04 CET 2017
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 | 0025
19 | 07
On Thu, Jan 5, 2017 at 11:01 AM, Dan Abner <dan.abner99 at gmail.com> 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 for each number)?
>
> I need to make ~12 of these for different samples of n=25, so the manual
> approach would be very painful...
>
> Thanks,
>
> Dan
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list