Description Format Details Source Examples
Monthly U.S. Retail Sales (in billions)
A data frame with 144 observations on the following 3 variables.
Month
Month of the year
Year
Year (from 2002 to 2011)
Date
Date in date format (day of month is meaningless)
Sales
U.S. retail sales (in billions of dollars)
Data show the monthly retail sales (in billions) for the U.S. economy in each month from 2002 through 2011.
1 2 3 4 5 | data(RetailSales)
if (require(lattice)) {
xyplot(Sales ~ Date, RetailSales, type='l')
xyplot(Sales ~ Date, RetailSales, type='l', groups=Month)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.