Displaying 2 results from an estimated 2 matches for "transferin".
Did you mean:
transfering
2009 Apr 09
3
Multiple Hexbinplots in 2 columns with a Single Categorical Variable
...of panels.
I have been exploring lattice for this which almost gets me there but not
quite.
The code I have written is as follows.
I would be ever so grateful for any advice anyone may be able to offer.
With best wishes,
Stuart Reece,
Australia.
useOuterStrips(hexbinplot(Transferin ~ Age | factor(Race) + factor(Sex),
data = NHANES, type = "r",
aspect = 1,
scales =
list(x =
list(relation = "free", rot = 0,
at=list(TRUE, TRUE, NULL, NULL)),
y =
list(...
2010 Oct 19
1
could not find function "hmatplot"
I need a picture like this:
http://rwiki.sciviews.org/doku.php?id=graph_gallery:graph38
http://rwiki.sciviews.org/doku.php?id=graph_gallery:graph38
but when I try compile it
require("hexbin")
data(NHANES)# pretty large data set!
good <- !(is.na(NHANES$Albumin) | is.na(NHANES$Transferin))
NH.vars <- NHANES[good, c("Age","Sex","Albumin","Transferin")]
# extract dependent variables and find ranges for global binning
x <- NH.vars[,"Albumin"]
rx <- range(x)
y <- NH.vars[,"Transferin"]
ry <- range(y)
age <...