Description Usage Arguments Value Examples
View source: R/bitacora-class.R
This method takes a bitacora
object and do a pie graph.
1 2 3 | ## S3 method for class 'bitacora'
plotSpeciesComposition(x, threshold = TRUE,
minPercentage = 0.2, ...)
|
x |
Object of |
threshold |
Logical, by default is |
minPercentage |
Numeric value indicating the minimum percentage that catches must have to be graphic. By default is 0.2. |
... |
Extra arguments. |
A pie graph.
1 2 3 4 5 6 7 8 9 | # Read a example of data base
bitacoraData = system.file("extdata", "bitacoraData.csv", package = "imarpe")
# Create a object of bitacora class
bitacoraObject = getBitacoraData(file = bitacoraData)
class(bitacoraObject)
# Composition of species by catches using a threshold = TRUE and minPercentage = 0.7
plotSpeciesComposition(x = bitacoraObject, minPercentage = 0.7)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.