Re: [R] Constructing a histogram with words as labels as height as frequency?

From: Jim Lemon <>
Date: Wed, 04 May 2011 17:22:07 +1000

On 05/04/2011 03:35 AM, Caitlin wrote:
> Hi all.
> I need to construct a plot showing words on the x-axis and how many times
> each word was given as a verbal response on the y-axis as solid bar
> (frequency). Is there a convenient function to do this in R? I considered
> hist(), but I'm not sure how to construct the text file. Example:
> apple, 2
> pear, 14
> house, 1
> beach, 5
> computer, 15
Hi Caitlin,


Jim mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Thu 05 May 2011 - 06:25:12 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 05 May 2011 - 07:00:06 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive