| pigdata {Benchmarking} | R Documentation |
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)
Format
A data frame with 248 observations on the following 16 variables.
firmSerial number for pig producer
x1Input fertilizer
x2Input feedstuf
x3Input land
x4Input labour
x5Input machinery
x6Input other capital
y2Output crop
y4Output pig
w1Price of fertilizer
w2Price of feedstuf
w3Price of land
w4Price of labour
w5Price of michenery
w6Price of other capital
p2Price of crop
p4Price of pig
costTotal cost, w1*x1+...+w6*x6.
revTotal 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.
Note
Data as .csv are loaded by the command data using
read.table(..., header = TRUE, sep = ";") as the file
is a semicolon separated file and not a comma separated file.
Source
Farmers accounting data converted to index.
Examples
data(pigdata)
## maybe str(pigdata) ; plot(pigdata) ...