This function is deprecated. Use make_deadata
instead.
read_data(datadea = NULL,
ni = NULL,
no = NULL,
dmus = 1,
inputs = NULL,
outputs = NULL,
nc_inputs = NULL,
nc_outputs = NULL,
nd_inputs = NULL,
nd_outputs = NULL,
ud_inputs = NULL,
ud_outputs = NULL)
Data frame with DEA data.
Number of inputs, if inputs are in columns 2:(ni
+ 1) (if DMUs
are in the first column) or 1:ni
(no DMUs column).
Number of outputs, if outputs are in columns (ni
+ 2):(ni
+
no
+ 1) (if DMUs are in the first column) or (ni
+ 1):(ni
+
no
) (no DMUs column). If not specified, DMUs are in the first column.
Column (number or name) of DMUs (optional). By default, it is the
first column. If there is not any DMU column, then it must be NULL
.
Columns (numbers or names) of inputs (optional). It prevails over ni
.
Alternatively to datadea
, it can be a matrix with the inputs (DMUs in columns).
In this case, DMUs names are taken from the columns names.
Columns (numbers or names) of outputs (optional). It prevails over no
.
Alternatively to datadea
, it can be a matrix with the outputs (DMUs in columns).
A numeric vector containing the indices of non-controllable inputs.
A numeric vector containing the indices of non-controllable outputs.
A numeric vector containing the indices of non-discretionary inputs.
A numeric vector containing the indices of non-discretionary outputs.
A numeric vector containing the indices of undesirable (good) inputs.
A numeric vector containing the indices of undesirable (bad) outputs.