bubbles-methods {FLCore}R Documentation

Lattice style bubble plots

Description

Use this method to do plots with circles proportional to the mean of the data.

Generic Function

call
bubbles(formula, data, ...
formula
A formula with the dependent, independent and conditional variables.
data
The object with the data you want to plot.

Methods

signature("formula", "FLQuant", ...)
The formula must make use of the FLQuant object dimnames. There's an extra argument bub.scale that will be multiplied be the pch.cex argument, so increasing the contrast among the circles.
signature("formula", "FLQuants", ...)
The formula must make use of the FLQuant object dimnames. There's an extra argument bub.scale that will be multiplied be the pch.cex argument, so increasing the contrast among the circles. This method plots bubbles of different color for negative and positive values, controled by the argument bub.col which is a character vector with 2 values. The legend is drawn by the method bkey. Try getMethod("bkey") to look at it.

Author(s)

The FLCore Team

See Also

xyplot, FLQuant-class

Examples

data(ple4sex)
# let's see how it looks
bubbles(age~year|unit, data=ple4sex@catch.n/1000, bub.scale=5)
# what about the log scale ?
bubbles(age~year|unit, data=log(ple4sex@catch.n))

[Package FLCore version 1.4-4 Index]