View source: R/Gtransition-main.R
plot.Mtransition | R Documentation |
Plot method for Mtransition class
## S3 method for class 'Mtransition' plot( x, units = "mm.", xlab = "Length class", ylab = "Y-Text", col = "grey45", sizeAxis1 = 0.5, sizeAxis2 = 0.5, adjY = -20, filename = "myplot", savePDF = FALSE, widthPDF = 3, heightPDF = 10, savePNG = FALSE, widthPNG = 300, heightPNG = 1000, resPNG = 110, ... )
x |
object of class 'Mtransition'. |
units |
a character string related to the measure of length. |
xlab |
a title for the x axis. |
ylab |
a title for the y axis. |
col |
color for the barplot. |
sizeAxis1 |
a number for the axis X. |
sizeAxis2 |
a number for the axis Y. |
adjY |
a number for y label position . |
filename |
filename. |
savePDF |
to save or not the plot in pdf format. |
widthPDF |
width resolution for pdf format. |
heightPDF |
height resolution for pdf format. |
savePNG |
to save or not the plot in png format. |
widthPNG |
width resolution for png format. |
heightPNG |
height resolution for png format. |
resPNG |
png resolution for png format. |
... |
Additional arguments to the plot method. |
output <- mgi(lowerL = 78, upperL = 202, classL = 4, Linf = 197.42, k = 0.1938, method = "vonB") delta <- output$delta mat <- transitionM(lowerL = 78, upperL = 202, classL = 4, distribution = "gamma", delta = delta, beta = 0.105, sigma = NULL) plot(mat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.