View source: R/lengthFrequencyPlot.R
lengthFrequencyPlot | R Documentation |
Given a frequency table size, it generates a vertical array of graphics for each specified category (months, latitudes, years, etc.).
lengthFrequencyPlot(
file1,
file2 = NULL,
dataFactor = 1,
newPlot = FALSE,
profile = NULL,
xlim = NULL,
xInterval = 1,
ylim = c(0, 50),
yInterval = NULL,
ylimList = NULL,
yIntervalList = NULL,
ltys1 = "solid",
lwds1 = "1",
col1 = "black",
alpha1 = 1,
ltys2 = "solid",
lwds2 = "1",
col2 = "blue",
alpha2 = 1,
juvLimit = NULL,
juvLty = "dotted",
juvLwd = 1,
juvCol = "red",
showJuv1 = TRUE,
juvLine1 = -2,
juvCex1 = 1,
juvLabel1 = "juveniles_1 = ",
showJuv2 = TRUE,
juvLine2 = -4,
juvCex2 = 1,
juvLabel2 = "juveniles_2 = ",
namesLine1 = -2,
namesCex1 = 1,
namesCol1 = NULL,
showNames2 = FALSE,
namesLine2 = -2,
namesCex2 = 1,
namesCol2 = NULL,
juvAdj = 0.99,
juvRound = 0,
juvSide = 3,
juvTextCol1 = NULL,
juvTextCol2 = NULL,
cex.axis = 1,
cex.lab = 1,
ylab_line = 3,
namesAdj = 0.01,
title_text = NULL,
title_line = 2,
title_cex = NULL,
title_col = "black",
title_font = 1,
smooth = FALSE,
oma = NULL,
xlab = NULL,
ylab = "Frecuencia (%)",
noDataLabel = "Sin datos",
ylabFactor = 1,
relative = TRUE
)
file1 |
Indicates the table from the main length distribution will be drawn. See details. |
file2 |
Indicates the table from the secondary length distribution will be drawn. See details. |
dataFactor |
Factor that multiplies matrices 1 and 2. |
newPlot |
If |
profile |
|
xlim |
Limits of x axis. |
xInterval |
Number of intervals for x axis labels. |
ylim |
Limits of y axis. |
yInterval |
Number of intervals for y axis labels. |
ylimList |
List of xlim value for each plot. |
yIntervalList |
List of yInterval value for each plot. |
ltys1 |
lty (see |
lwds1 |
lwd (see |
col1 |
col (see |
alpha1 |
factor modifying the opacity alpha (typically in [0,1]) for line 1. |
ltys2 |
lty (see |
lwds2 |
lwd (see |
col2 |
col (see |
alpha2 |
factor modifying the opacity alpha (typically in [0,1]) for line 2. |
juvLimit |
Limit length for juveniles. |
juvLty |
lty (see |
juvLwd |
lwd (see |
juvCol |
col (see |
showJuv1 |
Do you want to show the percentage of juveniles 1 as text? |
juvLine1 |
line (see |
juvCex1 |
Size for juveniles 1 text. |
juvLabel1 |
Text before juvenile 1 value. |
showJuv2 |
Do you want to show the percentage of juveniles 2 as text? |
juvLine2 |
line (see |
juvCex2 |
Size for juveniles 2 text. |
juvLabel2 |
Text before juvenile 2 value. |
namesLine1 |
line (see |
namesCex1 |
cex (see |
namesCol1 |
col (see |
showNames2 |
|
namesLine2 |
line (see |
namesCex2 |
cex (see |
namesCol2 |
col (see |
juvAdj |
adj (see |
juvRound |
Number of decimals places used to show juveniles' values. |
juvSide |
side (see |
juvTextCol1 |
col (see |
juvTextCol2 |
col (see |
cex.axis |
cex.axis (see |
cex.lab |
cex.lab (see |
ylab_line |
line (see |
namesAdj |
adj (see |
title_text |
Text for title. If not |
title_line |
line (see |
title_cex |
Size for title text. |
title_col |
col (see |
title_font |
font (see |
smooth |
|
oma |
oma (see |
xlab |
Label for x axis. |
ylab |
Label for y axis. |
noDataLabel |
|
ylabFactor |
|
relative |
|
This function takes a length frequency data and returns an stacking plot of that frequencies. smooth: logical. If TRUE, function uses an spline function to plot by categories. This function uses a data with categories at col and length at rows.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.