This function generates custom plots for FI objects.
# S4 method for fi
plot(x, ylim = c(1, 10), yaxp = c(1, 10, 9), xlab = 'Samples',
ylab = 'FORAM Index', pch.urg = 25, pch.mrg = 21, pch.crg = 24,
bg.urg = 'red', bg.mrg = 'yellow', bg.crg = 'green', pt.cex = 1,
limits = TRUE, ...)
an object of class fi
.
the y limits (x1, x2) of the plot, defaults to c(1, 10)
a vector of the form c(y1, y2, n) giving the coordinates of the extreme tick marks and the number of intervals between tick-marks, defaults to c(1, 10, 9)
.
a label for the x axis, defaults to "Samples"
.
a label for the y axis, defaults to "FORAM Index"
.
plotting 'character', i.e., symbol to use, prefer one between 21:25, defaults to 25
plotting 'character', i.e., symbol to use, prefer one between 21:25, defaults to 21
plotting 'character', i.e., symbol to use, prefer one between 21:25, defaults to 24
background (fill) color for the open plot symbols given by pch=21:25
, defaults to "red"
.
background (fill) color for the open plot symbols given by pch=21:25
, defaults to "yellow"
.
background (fill) color for the open plot symbols given by pch=21:25
, defaults to "green"
.
character (or symbol) expansion: a numerical vector, defaults to 1.
logical; if TRUE, draws lines limiting the three FORAM Index classes and identifies them, defaults to TRUE
.
other graphical parameters, see par
for details.
Rodrigo Aluizio
The plot uses the axis
function, so a complete customization (i.e. side
) of the axes is not possible at this moment, and some other parameters may show improperly if changed.
Hallock, P., Lidz, B.H., Cockey-Burkhard, E.M. & Donnelly, K.B. (2003). Foraminifera as bioindicators in coral reef assessment and monitoring: The foram index. Environmental monitoring and assessment 81, 221-238.
data(LF)
data(Factors)
MyFI <- fi(LF, Factors)
plot(MyFI)
Run the code above in your browser using DataLab