Description Generic function Methods Author(s) See Also Examples
This method plots three dimensional data like matrices by age and year or age-class, very common in fisheries. The bubbles are proportional to the values on the matrix. Note that bubbles
accept an argument bub.scale
to control the relative size of the bubbles. Positive and negative values have separate colours.
bubbles(x, data)
Produce bubbles plot of the object.
Produce a lattice of bubbles plot of the objects. Commonly used to plot residuals of VPA assessments.
Produce bubbles plot of the object.
Produce bubbles plot of the object.
The FLR Team
lattice, FLQuant
, FLQuants
,FLCohort
1 2 3 4 5 6 7 8 9 10 11 12 | data(ple4)
bubbles(age~year, data=catch.n(ple4))
bubbles(age~year, data=catch.n(ple4), bub.scale=5)
bubbles(age~cohort, data=FLCohort(catch.n(ple4)), bub.scale=5)
qt01 <- log(catch.n(ple4)+1)
qt02 <- qt01+rnorm(length(qt01))
flqs <- FLQuants(qt01=qt01, qt02=qt02)
bubbles(age~year|qname, data=flqs, bub.scale=1)
qt03 <- FLQuant(rnorm(100),dimnames=list(age=as.character(1:10),year=as.character(1:10)))
bubbles(age~year, data=qt03, bub.scale=7, col=c("black","red"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.