Skip to content
Prev 81172 / 398502 Next

help with apply, please

On 11/19/05, Gabor Grothendieck <ggrothendieck at gmail.com> wrote:
Although the above is not wrong I should have removed the rbind
which is no longer needed and simplifying it further, as it seems
that lp will do the rep for you itself for certain arguments, gives:

lp("min", rep(1,3), t(mtrx), ">=", 1)$solution  # 1 0 1