Hi,
I have a simple question. I drew a bar chart in trellis that I would
like to redo. There are six panels. Each panel has six bars
representing six food products. The panels are the attributes of the
food products: smell, sweetness, etc. The scale in each panel ranges
from -60% to +20% and represent a net score - basically the percentage
of people favoring the attribute or not. A negative score means more
people disliked the attribute; positive means more liked it. The bars
all start from the left vertical axis making interpretation slightly
challenging. I'd like to have the bars start in the center of each
panel at the 0% point so that bars extending to the right clearly show
positive percentages of people and those to the left clearly show
negative ones. The command I used is
barchart(code ~ net | att, data == all.net, aspect = 1)
where code is for the product, net is for the percentage scores, and att
is for the attributes.
Any suggestions?
Thanks,
Walt
--
________________________
Walter R. Paczkowski, Ph.D.
Data Analytics Corp.
44 Hamilton Lane
Plainsboro, NJ 08536
________________________
(V) 609-936-8999
(F) 609-936-3733
dataanalytics@earthlink.net
www.dataanalyticscorp.com
|