Displaying 1 result from an estimated 1 matches for "2010_cpi".
2011 Jan 10
3
Lattice, combine histogram and line graph
...ave looked through the "Lattice" book by Deepayan Sarkar
but don't see anything there. How might this be done? An example would
be wonderful.
Current code snippet follows. For example additional field to add as a
line graph would be a cpi calculation like "gas_data$regular * (2010_cpi
/ gas_data$year )".
xyplot( regular ~ as.Date(gas_data$dates,"%b %d, %Y") , data = gas_data,
type = c("g", "h" ))
Thanks,
Jim Burke