Plotranges | R Documentation |
Plots minimum and maximum ranges.
Takes as input either a lim list, as generated by Setup or a set of vectors specifying the minimum, maximum and the central value, or a data.frame that contains min, max and central values.
Plotranges(...) ## S3 method for class 'double' Plotranges(min, max, value = NULL, labels = NULL, log = "", pch = 16, pch.col = "black", line.col = "gray", seg.col = "black", xlim = NULL, main = NULL, xlab = NULL, ylab = NULL, lab.cex = 1.0, mark = NULL,...) ## S3 method for class 'lim' Plotranges(lim = NULL, labels = NULL, type = "X", log = "", pch = 16, pch.col = "black", line.col = "gray", seg.col = "black", xlim = NULL, main = NULL, xlab = NULL, ylab = NULL, lab.cex = 1.0, index = NULL, ...) ## S3 method for class 'character' Plotranges(file, ...)
min |
minimum value. |
max |
maximum value. |
value |
median or mean value. |
lim |
a list that contains the linear inverse model
specification, as generated by function |
file |
name of the inverse input file. |
labels |
names of each value. |
type |
one of "X" or "V" for plotting of unknowns (X) or variables. |
log |
if = x: logarithmic scale for x-axis. |
pch |
pch symbol used for mean value. |
pch.col |
pch color for mean value. |
line.col |
color for each variable, spanning x-axis. |
seg.col |
color for variable range. |
xlim |
limits on x-axis. |
main |
main title. |
xlab |
x-axis label. |
ylab |
y-axis label. |
lab.cex |
label expansion value. |
index |
list of elements to be plotted, a vector of integers; default = all elements. |
mark |
list of elements to be marked with a "*", i.e. when range is unbounded. |
... |
arguments passed to R-function "text" when writing labels. |
Only when a lim list was inputted. A data frame with
min |
the minimum. |
max |
the maximum. |
values |
the central value. |
Karline Soetaert <karline.soetaert@nioz.nl>
# The Takapoto food web. # some ranges extend to infinity - they are marked with "*" Plotranges(LIMTakapoto, lab.cex = 0.7, sub = "*=unbounded", xlab = "mgC/m2/d", main = "Takapoto atoll planktonic food web, Flowranges") # ranges of variables, exclude first variable Plotranges(LIMTakapoto, type = "V", lab.cex = 0.7, index = 2:23, xlab = "mgC/m2/d", main = "Takapoto atoll planktonic food web, Variable ranges")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.