fHMM_colors {fHMM}R Documentation

Set color scheme for visualizations

Description

This helper function defines a color scheme for visualizations in the {fHMM} package.

Usage

fHMM_colors(controls, colors = NULL)

Arguments

controls

An object of class fHMM_controls. It can be created with set_controls.

colors

Either NULL (default) or a character vector of color names or hexadecimal RGB triplets.

Value

An object of class fHMM_colors, which is:

Examples

## Not run: 
controls <- set_controls()
fHMM_colors(controls, colors = c("red", "blue"))

## End(Not run)


[Package fHMM version 1.4.2 Index]