Learn R Programming

⚠️There's a newer version (2.0.1) of this package.Take me there.

limSolve (version 1.5.1)

Solving Linear Inverse Models

Description

Functions that (1.) Find the minimum/maximum of a linear or quadratic function: min or max (f(x)), where f(x) = ||Ax-b||^2 or f(x) = sum(ai*xi) subject to equality constraints Ex=f and/or inequality constraints Gx>=h. (2.) Sample an underdetermined- or overdetermined system Ex=f subject to Gx>=h, and if applicable Ax~=b. (3.) Solve a linear system Ax=B for the unknown x. Includes banded and tridiagonal linear systems. The package calls Fortran functions from LINPACK

Copy Link

Version

Install

install.packages('limSolve')

Monthly Downloads

3,643

Version

1.5.1

License

GPL (>= 2)

Maintainer

Karline Soetaert

Last Published

October 11th, 2009

Functions in limSolve (1.5.1)

Solve.banded

Solution of a banded system of linear equations
nnls

Nonnegative Least Squares
Blending

A linear inverse blending problem
Solve.block

Solution of an almost block diagonal system of linear equations
varsample

Samples variables of linear inverse problems.
Solve.tridiag

Solution of a tridiagonal system of linear equations
resolution

Row and column resolution of a matrix.
lsei

Least Squares with Equalities and Inequalities
Solve

Generalised inverse solution of Ax=B
xranges

Calculates ranges of inverse unknowns
ldp

Least Distance Programming
Chemtax

An overdetermined linear inverse problem: estimating algal composition based on pigment biomarkers.
varranges

Calculates ranges of inverse variables
Minkdiet

An underdetermined linear inverse problem: estimating diet composition of Southeast Alaskan Mink.
linp

Linear Programming.
ldei

Weighted Least Distance Programming with equality and inequality constraints.
E_coli

An underdetermined linear inverse problem: the Escherichia Coli Core Metabolism Model.
xsample

Randomly samples an underdetermined problem with linear equality and inequality constraints
RigaWeb

An underdetermined linear inverse problem: the Gulf of Riga *spring* planktonic food web
limSolve-package

Solving Linear Inverse Models