prTpGetBoxPropClr: A gets the color for the given box

Description Usage Arguments Value

View source: R/transitionPlot_helpers.R

Description

A gets the color for the given box

Usage

1
prTpGetBoxPropClr(clr, no_boxes, lengthOneOK = FALSE)

Arguments

clr

The color of the boxes, either a matrix, a vector of length two, or a single color

no_boxes

The number of boxes

lengthOneOK

If it is ok to have only one color

Value

matrix With two columns and no_boxes rows. If function fails then return NULL


raredd/Gmisc0 documentation built on May 27, 2019, 2:02 a.m.