[R] Problem with "dea.boot" under R 3.0.1
greatest.possible.newbie
daniel.hoop at gmx.net
Thu Aug 8 16:57:10 CEST 2013
Dear Vera,
I had a similar problem once and as far as I can remember the reason were
some negative inputs or outputs.
# Check for negative values
x1a.neg <- apply(x1a, 1, function(x) any(x<0))
y1.neg <- apply(y1, 1, function(x) any(x<0))
exclude <- x1a.neg | y1.neg
# Exclude negative rows
x1a.neg <- x1a.neg[!exclude,]
y1.neg <- y1.neg[!exclude,]
# Try again!
Daniel
--
View this message in context: http://r.789695.n4.nabble.com/Problem-with-dea-boot-under-R-3-0-1-tp4669964p4673363.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list