Learn R Programming

Benchmarking (version 0.33)

pigdata: Data: Multi-output pig producers

Description

Input and output data for 248 pig producers that also produces crop, i.e. a multi--output data set.

Usage

data(pigdata)

Arguments

Format

A data frame with 248 observations on the following 16 variables.

firm

Serial number for pig producer

x1

Input fertilizer

x2

Input feedstuf

x3

Input land

x4

Input labour

x5

Input machinery

x6

Input other capital

y2

Output crop

y4

Output pig

w1

Price of fertilizer

w2

Price of feedstuf

w3

Price of land

w4

Price of labour

w5

Price of michenery

w6

Price of other capital

p2

Price of crop

p4

Price of pig

cost

Total cost, w1*x1+...+w6*x6.

rev

Total revenue, p2*y2+p4*y4.

Details

In raising pigs, most farmers also produce crops to feed the pigs. Labor and capital are used not just directly for pig-raising but also on the field.

Examples

Run this code
data(pigdata)
## maybe str(pigdata) ; plot(pigdata) ...

Run the code above in your browser using DataLab