Xranges                 package:LIM                 R Documentation

_G_e_n_e_r_a_t_e_s _r_a_n_g_e_s _o_f _t_h_e _u_n_k_n_o_w_n_s _o_f _a _l_i_n_e_a_r _i_n_v_e_r_s_e _p_r_o_b_l_e_m

_D_e_s_c_r_i_p_t_i_o_n:

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

_U_s_a_g_e:

     Xranges (lim, ...)

_A_r_g_u_m_e_n_t_s:

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

    ... : extra arguments passed to function 'xranges' from
          package'limSolve'. 

_V_a_l_u_e:

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

_A_u_t_h_o_r(_s):

     Karline Soetaert <k.soetaert@nioo.knaw.nl>

_S_e_e _A_l_s_o:

     'Varranges' which estimates the ranges of inverse variables

     'Plotranges' to plot the ranges

     function 'xranges' from package'limSolve'

_E_x_a_m_p_l_e_s:

     # ranges
       xr <- Xranges(LIMRigaAutumn)
       xlim <- range(xr)
       # parsimonious
             xpars <- Lsei(LIMRigaAutumn)$X
       dotchart(x=xpars,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)

