compute_scale_efficiency | R Documentation |
Calculate scale efficiency from a set of inputs and outputs and return a data.frame
compute_scale_efficiency(x, y, orientation = c("in", "out"), digits = NULL)
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 |
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.
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.