Skip to content

histogram help

3 messages · Rosario Scandurra, John Kane, Jim Lemon

#
i think we need some sample data.  

I would not have thought that you could calculate the percentage of a categorical data so perhaps a simple example of what you are doing would help.

John Kane
Kingston ON Canada
____________________________________________________________
FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family!
Visit http://www.inbox.com/photosharing to find out more!
#
On 11/22/2012 05:15 AM, Rosario Scandurra wrote:
Hi Rosario,
If you already have your percentages, the barplot function will display 
them like most people expect an histogram to look by setting space=0. 
See the "names.arg" argument to have the names of your nominal variables 
on the x axis. I'm not sure exactly what you mean by wanting 2 
categories below 0. If these are negative percentages, the barplot 
function will automatically handle them.

Jim