[R] non-negative least squares

Terry Therneau therneau at mayo.edu
Mon Sep 8 14:35:04 CEST 2008


 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



More information about the R-help mailing list