CRAN
nnls 1.4
The Lawson-Hanson algorithm for non-negative least squares (NNLS)
Released Mar 19, 2012 by Katharine Mullen
This package is available for Renjin and there are no known compatibility issues.
An R interface to the Lawson-Hanson implementation of an algorithm for non-negative least squares (NNLS). Also allows the combination of non-negative and non-positive constraints.
Installation
Maven
This package can be included as a dependency from a Java or Scala project by including
the following your project's pom.xml
file.
Read more
about embedding Renjin in JVM-based projects.
<dependencies> <dependency> <groupId>org.renjin.cran</groupId> <artifactId>nnls</artifactId> <version>1.4-b290</version> </dependency> </dependencies> <repositories> <repository> <id>bedatadriven</id> <name>bedatadriven public repo</name> <url>https://nexus.bedatadriven.com/content/groups/public/</url> </repository> </repositories>
Renjin CLI
If you're using Renjin from the command line, you load this library by invoking:
library('org.renjin.cran:nnls')
Test Results
This package was last tested against Renjin 0.9.2689 on Aug 25, 2018.