Skip to contents

Solve an input or output oriented DEA model under constant (crs), variable (vrs), non-increasing (drs), or non-decreasing (irs) returns to scale.

Usage

compute_dea(
  data,
  input,
  output,
  id = NULL,
  rts = c("crs", "vrs", "drs", "irs"),
  orientation = c("in", "out"),
  super = FALSE,
  slack = FALSE,
  peers = FALSE
)

Arguments

data

Dataset to analyse.

input

A character vector with input variables.

output

A character vector with output variables.

id

Optional. A string with the DMU id or name variable. Defaults to the rownames of the dataset.

rts

Returns to scale.

crsConstant returns to scale, convexity and free disposability.
vrsVariable returns to scale, convexity and free disposability.
drsDecreasing returns to scale, convexity, down-scaling and free disposability.
irsIncreasing returns to scale, (up-scaling, but not down-scaling), convexity and free disposability.
orientation

Model orientation.

super

If TRUE super efficiency scores are calculated.

slack

If TRUE slack values are calculated.

peers

If TRUE peers are added to the response.

Value

A list of class pioneer_dea