Riksrevisjonen / pioneeR

R package for running a Shiny app for DEA analysis
https://riksrevisjonen.github.io/pioneeR/
GNU General Public License v3.0
6 stars 2 forks source link

Add argument to exclude model columns from as.data.frame methods #111

Open ohjakobsen opened 3 weeks ago

ohjakobsen commented 3 weeks ago

Add a new argument include_model to the as.data.frame() S3 methods for pioneer_dea and pioneer_mlm S3 objects. If set to FALSE, the columns from x$model should not be included. This will make it easier to understand the code in app, as we exclude these columns from the table for Malmquist. Instead, we should have a call to as.data.frame() with include_model set to FALSE. The default value should be TRUE as the current behaviour would be the expected from the R users perspective.