Learn R Programming

functClust (version 0.1.6)

add_ass_names: Add assemblage names on a plot

Description

Plot the name of each assemblage near its performance on a graph plotted using the functions plot_prediction_simple or plot_prediction_LOO.

Usage

add_ass_names(Fx, Fy, assMotif, cols)

Arguments

Fx, Fy

two numeric vectors of length(Fx). The first vector contains reference, observed assemblage performances. The second vector contains assemblage performances modelled by components clustering.

assMotif

an integer vector of length(Fx). The vector contains the labels of each assemblages. The labels are only used to plot the assemblage performances that share a same assembly motif with a same symbol and color. If it is omitted, all points are plotted using a same symbol and color. The default symbol and color is "red circle".

cols

an integer vector of length(Fx). It contains the colours specific to each assembly motif recorded in assMotif.

Value

Nothing. It is a procedure.

Details

A given assemblage is always plotted using the same symbol and color.