R programming - (nonparaeff) package, direc.dea - Help specifying >1 input

#1
Hello,

i am trying to model firm frontier efficiency using the nonparaeff package in R for the ''directional distance function- direc.dea). The instruction manual in HELP provides a simple example:

## Simple Example of one input, one good output, and one bad output.
my.dat <- data.frame(yg = c(2, 5, 7, 8, 3, 4, 6),
yb = c(1, 2, 4, 7, 4, 5, 6),
x = c(1, 1, 1, 1, 1, 1, 1))
direc.dea(my.dat, ngood = 1, nbad = 1)

However, my sample uses more than 1 intput (above represented by x), HOW do i specify all the four inputs x1, x2, x3 and x4 of my sample?

Thanks,

bronzef2
 
Last edited: