recColor: Assign colors to receivers

Description Usage Arguments Value

Description

This function assigns a color to each of the unique receiver values using a provided or predefined color palette.

Usage

1
recColor(unique.rec.id = NULL, palette = NULL)

Arguments

unique.rec.id

vector with the unique names of the receivers.

palette

a color palette to extract the colors. If not provided, a default palette is generated and used.

Value

A vector of color names, where the name of each element corresponds to the name of a receiver.


aspillaga/fishtrack3d documentation built on June 4, 2019, 9:14 a.m.