Usage
foodweb( funs, where=1, charlim=80, prune=character(0), rprune, ancestors=TRUE,
descendents=TRUE, plotting =TRUE, plotmath=FALSE,
generics=c( "c","print","plot", "["), lwd=0.5, xblank=0.18,
border="transparent", boxcolor="white", textcolor="black",
color.lines=TRUE, highlight="red", ...)
## S3 method for class 'foodweb':
plot(x, textcolor, boxcolor, xblank, border, textargs = list(),
use.centres = TRUE, color.lines = TRUE, poly.args = list(),
expand.xbox = 1.05, expand.ybox = expand.xbox * 1.2, plotmath = FALSE, ...) # plot.foodweb
callers.of( funs, fw=foodweb( plotting=FALSE))
callees.of( funs, fw=foodweb( plotting=FALSE))
Arguments
funs
character vector OR (in foodweb
only) the result of a previous foodweb
call
where
position(s) on search path, or an environment, or a list of environments
charlim
controls maximum number of characters per horizontal line of plot
prune
character vector. If omitted, all funs
will be shown; otherwise, only ancestors and descendants of functions in prune
will be shown. Augments funs
if required.
rprune
regexpr version of prune
; prune <- funs %matching% rprune
. Does NOT augment funs
. Overrides prune
if set.
ancestors
show ancestors of prune
functions?
descendents
show descendents of prune
functions?
plotting
graphical display?
generics
calls TO functions in generics
won't be shown
border
border around name of each object (TRUE/FALSE
)
boxcolor
background colour of each object's text box
color.lines
will linking lines be coloured according to the level they originate at?
highlight
seemingly not used
...
passed to plot.foodweb
and thence to par
textargs
not currently used
use.centres
where to start/end linking lines. TRUE
is more accurate but less tidy with big webs.
expand.xbox
how much horizontally bigger to make boxes relative to text?
expand.ybox
how much vertically bigger to ditto?
poly.args
other args to rect
when boxes are drawn
fw
an object of class foodweb
, or the funmat
element thereof (see Value)
x
a foodweb (as an argument to plot.foodweb
)