Skip to content
Prev 363062 / 398502 Next

DEA -- Extract the Frontier and ggplot2

Hi,

this is not really a ggplot2 issue, but here goes.

If you look at the source code of the Benchmarking package (here
<https://github.com/cran/Benchmarking/blob/master/R/dea.plot.R>) you will
notice that the function is not very explicit about what to return - so the
returned thing is actually a plotting line (lines()). What you could do is
fork the repository, add your own return statement to include the `hpts`
<https://github.com/cran/Benchmarking/blob/master/R/dea.plot.R#L227> which
could be used to find the correct values in `x` (see for example here
<https://github.com/cran/Benchmarking/blob/master/R/dea.plot.R#L231> how
plotting is done).

After you have the formed repository ready (and pushed to your account),
you can install it through
devtools::install_github("yourname/Benchmarking"). Blesssed thee, open
source.

Cheers,
Roman

On Tue, Aug 2, 2016 at 11:11 AM, Lorenzo Isella <lorenzo.isella at gmail.com>
wrote: