Displaying 5 results from an estimated 5 matches for "set_varname".
Did you mean:
set_varnames
2007 Sep 19
4
fontsize in mosaic plot lables
Hi List,
I am trying unsucessfully to modify the fontsize of lables in mosaic:
require(vcd)
mosaic(Titanic, pop=FALSE,
labeling_args=list(rot_labels=c(bottom=90,top=90),
set_varnames = c(Sex = "Gender"),
gp_text=gpar(fontsize=20))) #can't get it to resize text
tab <- ifelse(Titanic < 6, NA, Titanic)
# it works for labeling_cells
labeling_cells(text = tab, margin =
0,gp_text=gpar(fontsize=20))(Titanic)
What am I doing wrong?
Thanx
Herry
2009 May 21
1
vcd package --- change layout of plot
...the order of Feature and Rank dimensions,
and go with the default side-by-side, but would prefer not to).
(1)
cotabplot(~ Rank + Feature| Cities, data = Pack.dat, gp = shading_max,
rot_labels = c(90, 0, 0, 0),just_labels = c("left", "left",
"left", "right"),set_varnames = c(Feature = ""))
Reading the vcd help, I got lost trying to understand the
panel-generating parameters I should use. My best guess was below (2),
but gave an error message. Clearly, I don't know what the paneling is
asking for. This is where I would like some advice, if anyone...
2012 Dec 18
2
Changing Variable Names In VCD
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
2010 May 12
2
Finding different hues for a mosaic plot compatible with grayscale printing
..._scaled, shade=TRUE, main="Support For
Environmental Protection At The Expense of Creating Jobs By
Education", gp=shading_hcl(CST17$observed, CST17$expected, ASR17,
df=6, h=c(260,0), c=c(100,0), l=c(90,0)),
labeling_args=list(rot_labels=c(25,90,0,0), offset_labels=c(1,0,0,2),
offset_varnames=c(2,0,0,4),
set_varnames=c(trade_off_scaled="Protecting The Environment Is More
Important Than Creating Jobs", educ="Level of Education")))
*********************************
Simon J. Kiss, PhD
SSHRC and DAAD Post-Doctoral Fellow
John F. Kennedy Institute of North America S...
2006 Jun 21
5
default page and session
Hi Everybody!
As a newcomer to this list and to Rails per se I would like to to
post my silly newbie questions ? be patient:
1. I''m not able to get rid of the welcome-aboard-screen. It says:
> 3. Set up a default route and remove or rename this file
>
> Routes are setup in config/routes.rb.
I''ve done the routing part ? at least I think I have! Now, as for the