compute_scale_efficiency {pioneeR} | R Documentation |
Calculate scale efficiency
Description
Calculate scale efficiency from a set of inputs and outputs and return a data.frame
Usage
compute_scale_efficiency(x, y, orientation = c("in", "out"), digits = NULL)
Arguments
x |
A matrix of inputs, created with |
y |
A matrix of outputs, created with |
orientation |
|
digits |
An integer with the number of digits to round to. If |
Value
A data frame containing the efficiency scores for CRS, VRS, the Scale Efficiency, the VRS to NIRS ratio, and a recommendation on whether to increase or decrease the size of the DMU.
Examples
# Create matrices with random values
inputs <- matrix(runif(10, 1, 10), ncol = 2)
outputs <- matrix(runif(10, 1, 10), ncol = 2)
# Compute scale efficiency
res <- compute_scale_efficiency(
inputs, outputs, orientation = 'out', digits = 2)
[Package pioneeR version 0.5.0 Index]