Learn R Programming

LIM (version 1.4.7.1)

Xranges: Generates ranges of the unknowns of a linear inverse problem

Description

Given an inverse input list, generates the minimal and maximal values of the unknowns

Usage

Xranges (lim, ...)

Value

a 2-columned vector containing the minimum (column 1) and maximum (column 2) of each unknown.

Arguments

lim

a list that contains the linear inverse model specification, as generated by function setup.limfile.

...

extra arguments passed to function xranges from packagelimSolve.

Author

Karline Soetaert <karline.soetaert@nioz.nl>

See Also

Varranges which estimates the ranges of inverse variables

Plotranges to plot the ranges

function xranges from packagelimSolve

Examples

Run this code
# ranges
xr   <- Xranges(LIMRigaAutumn)
xlim <- range(xr)

# parsimonious
pars <- Lsei(LIMRigaAutumn)$X

# plot
dotchart(x = pars, labels = rownames(xr), xlim = xlim,  
         main = "Riga Autumn ",
         sub = "ranges and parsimonious solution", pch = 16)
cc <- 1:nrow(xr)
segments(xr[ ,1], cc, xr[ ,2], cc)

Run the code above in your browser using DataLab