[R] Generating a Special Histogram

Sarah Goslee sarah.goslee at gmail.com
Thu Jan 5 17:11:28 CET 2017


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 <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
>

-- 
Sarah Goslee
http://www.functionaldiversity.org



More information about the R-help mailing list