Displaying 1 result from an estimated 1 matches for "uscr".
Did you mean:
usc
2010 May 25
2
segplot (latticeExtra)
...'scales="free"' in the segplot()
function of latticeExtra. Say we need panels for each year, showing
only those counties that are represented in each one:
---<--------------------cut here---------------start------------------->---
library(latticeExtra)
data(USCancerRates)
uscr.w <- subset(USCancerRates, state == "Washington")
uscr.w$year <- gl(4, 10, length=nrow(uscr.w), labels=format(seq(2001, 2004)))
segplot(reorder(factor(county), rate.male) ~ LCL95.male + UCL95.male | year,
data=uscr.w, scales="free")
---<--------------------cut...