Message-ID: <50D1C403.7060906@yorku.ca>
Date: 2012-12-19T13:41:23Z
From: Michael Friendly
Subject: Changing Variable Names In VCD
In-Reply-To: <70BFE20E-86D0-4B9F-A031-EDFA270571BA@gmail.com>
On 12/18/2012 1:25 PM, Simon Kiss wrote:
> Hello:
> What is the most efficient way to change the plotted variable names in mosaic plots in the vcd package? Should one do a separate contingency table first, change the dimension names there and then pass that to mosaic?
> Or is there a way to do it simply within mosaic.
> I was thinking something like:
> mosaic(~var1+var2, labelling_args=list(varnames=c('newvar1', 'newvar2'))
> Simon Kiss
> *********************************
Take a look at \S 5.2 in vignette("vcd-tutorial", package="vcdExtra")
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept. & Chair, Quantitative Methods
York University Voice: 416 736-2100 x66249 Fax: 416 736-5814
4700 Keele Street Web: http://www.datavis.ca
Toronto, ONT M3J 1P3 CANADA