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

View source: R/Xranges.R

XrangesR Documentation

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, ...)

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.

Value

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

Author(s)

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

# 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)

LIM documentation built on May 11, 2022, 5:05 p.m.

Related to Xranges in LIM...