Hello R experts,
I have two questions related to the nnls library
(http://www.inside-r.org/packages/cran/nnls), and more broadly to linear
regression with positive coefficients. Sample code is below the Qs.
Q1: Regular regression (with lm) gives me the significance of each variable.
How do I g
Hello,
I am attempting to solve the least squares problem Ax = b in R, where A and b
are known and x is unknown. It is simple to solve for x using one of a variety
of methods outlined here:
http://cran.r-project.org/web/packages/Matrix/vignettes/Comparisons.pdf
As far as I can tell, none of th
Terry Therneau wrote:
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?
There is a package nnls on CRAN by Kate Mullen and Ivo van Stokkum:
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 ma
4 matches
Mail list logo