Last data update: 2014.03.03

R: Price of a bushel of wheat versus the national weekly...
WheatR Documentation

Price of a bushel of wheat versus the national weekly earnings of production workers

Description

Data for Exercise 2.11

Usage

Wheat

Format

A data frame with 19 observations on the following 3 variables.

year

a numeric vector

earnings

a numeric vector

price

a numeric vector

Source

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Duxbury

Examples

str(Wheat)
attach(Wheat)
par(mfrow=c(1,2))
plot(year,earnings)
plot(year,price)
par(mfrow=c(1,1))
detach(Wheat)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(BSDA)
Loading required package: e1071
Loading required package: lattice

Attaching package: 'BSDA'

The following object is masked from 'package:datasets':

    Orange

> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/BSDA/Wheat.Rd_%03d_medium.png", width=480, height=480)
> ### Name: Wheat
> ### Title: Price of a bushel of wheat versus the national weekly earnings
> ###   of production workers
> ### Aliases: Wheat
> ### Keywords: datasets
> 
> ### ** Examples
> 
> str(Wheat)
'data.frame':	19 obs. of  3 variables:
 $ year    : int  1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 ...
 $ earnings: num  235 255 267 281 293 ...
 $ price   : num  3.91 3.65 3.55 3.54 3.39 3.08 2.42 2.57 3.72 3.72 ...
> attach(Wheat)
> par(mfrow=c(1,2))
> plot(year,earnings)
> plot(year,price)
> par(mfrow=c(1,1))
> detach(Wheat)
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>