I have a problem whose solution requires non-negative least squares.  That is
        minimize sum(y - Xbeta)^2   subject to beta >=0
        
Splus has the nnls.fit command.  Is there an R alternative?

        Terry Therneau

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to