pigs: Temporal measurements on UK Pig production

Description Format Source Examples

Description

Multivariate time series data originally from Andrews and Herzberg (1985).

Format

data.frame: 48 obs. of 11 variables

TIME

Time index, from 1 to 48

YEAR

Year, from 1967 to 1978

QUARTER

Quarter index, take value in 1,2,3,4

Q1

Whether is the first quarter

Q2

Whether is the second quarter

Q3

Whether is the third quarter

GILTS

Number of sows in pig for the first time

PROFIT

Ratio of all-pig price to all fattener feed price

S.HERDSZ

Ratio of sow and boar slaughter to total breeding herd size

PRODUCTION

Number of clean pig meat slaughtered

HERDSZ

Actual breeding herd size

Source

Andrews, D.F. and Herzberg, A.M. (1985), Data - A Collection of Problems from Many Fields for the Student and Research Worker, Springer-Verlag, New York, NY. URL: http://lib.stat.cmu.edu/datasets/Andrews/

Examples

1
2
3
library(cranvas)
qpig <- qdata(pigs)
qtime(TIME, c("GILTS", "PROFIT", "PRODUCTION", "HERDSZ"), qpig, shift = c(1, 4))

ggobi/cranvas documentation built on May 17, 2019, 3:10 a.m.