Learn R Programming

distantia (version 2.0.2)

utils_line_color: Handles Line Colors for Sequence Plots

Description

This is an internal function, but can be used to better understand how line colors are handled within other plotting functions.

Usage

utils_line_color(x = NULL, line_color = NULL)

Value

color vector

Arguments

x

(required, sequence) zoo object or time series list. Default: NULL

line_color

(optional, character vector) vector of colors for the time series columns. Selected palette depends on the number of columns to plot. Default: NULL

See Also

Other internal_plotting: color_continuous(), color_discrete(), utils_color_breaks(), utils_line_guide(), utils_matrix_guide(), utils_matrix_plot()