View source: R/efficiencyRFEAT.R
efficiencyRFEAT | R Documentation |
This function computes the efficiency scores for each DMU through a Random Forest + Efficiency Analysis Trees model and the Banker Charnes and Cooper mathematical programming model with output orientation. Efficiency level at 1.
efficiencyRFEAT( data, x, y, object, digits = 3, FDH = TRUE, print.table = FALSE, na.rm = TRUE )
data |
|
x |
Column input indexes in |
y |
Column output indexes in |
object |
A |
digits |
Decimal units for scores. |
FDH |
|
print.table |
|
na.rm |
|
A data.frame
with the efficiency scores computed through a Random Forest + Efficiency Analysis Trees model. Optionally, a summary descriptive table of the efficiency scores can be displayed.
simulated <- X2Y2.sim(N = 50, border = 0.2) RFEAT_model <- RFEAT(data = simulated, x = c(1,2), y = c(3, 4)) efficiencyRFEAT(data = simulated, x = c(1, 2), y = c(3, 4), object = RFEAT_model, digits = 2, FDH = TRUE, na.rm = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.