Displaying 4 results from an estimated 4 matches for "gp_args".
Did you mean:
tp_args
2010 Jul 07
4
Gray level mosaic plot with shading_Friendly
Suppose we start with
data("Titanic")
mosaic(Titanic, shade = TRUE)
How do I combine the dashed box contours of shading_Friendly to indicate negative residuals, with three levels of gray: dark for abs(Pearson Resid) > 4, lighter for 4 > abs(Pearson Resid) > 2, and lightest for bs(Pearson Resid) < 2 ?
Thanks,
Michael
______________________________________________
2013 Apr 24
2
Regression on stratified count data
Hi all:
For stratified count data,how to perform regression analysis?
My data:
age case oc count
1 1 1 21
1 1 2 26
1 2 1 17
1 2 2 59
2 1 1 18
2 1 2 88
2 2 1 7
2 2 2 95
age:
1:<40y
2:>40y
case:
1:patient
2:health
oc:
1:use drug
2:not use drug
My purpose:
Anaysis whether case and
2012 Apr 06
2
Changing grid defaults
...col.axis,
col.lab, col.main, and col.sub parameter settings), but I can't figure
out how to do this with grid/strucplot/vcd.
>From my experiments, I think that I might eventually figure out how to
change the colors of all the text in the mosaic plots to what I want
using arguments like 'gp_args = list(gp_labels = gpar(col = "yellow")'
and 'gp_varnames = gpar(col = "yellow")' (although I still haven't
figured out how to changed the color of the text on the legends), but
this is obviously not what I need. I have been reading all the
documentation I can f...
2006 Jan 27
1
monochrome mosaic plot in vcd package
...abels = LETTERS[3:4])
term.3 <- gl(2,4,8, labels = LETTERS[5:6])
cell.count <- c(72, 19, 5, 8, 117, 115, 81, 85)
mosaic(loglm(formula = cell.count ~ term.1 + term.2 + term.3),
shade = TRUE, gp = shading_hcl, legend = TRUE,
labeling_args = list(rot_labels = rep(0,4)),
gp_args = list(lty = 1:2),legend_width = unit(0.2, "npc"))
------------------------------------------------------------
Dr Michael Townsley
Senior Research Fellow
Jill Dando Institute of Crime Science
University College London
Second Floor, Brook House
London, WC1E 7HN
Phone: 020 7679 0820
Fa...