# colorVector

From dsmodels v1.1.0
by Charles Stein

##### Set Color Vector From Parameters

Outputs a color vector.
If the combined length of `col`

and `image`

is 2, and `iters`

is greather than 1,
this function creates a gradient from first specified color to the second. The length of said
vector will be equal to `iters`

.
If the combined length of `col`

and `image`

is greater than two, then the output will
be a vector of whatever was input into `col`

and `image`

with output length being
`min(length(col) + length(image), iters)`

.

- Keywords
- internal

##### Usage

`colorVector(col, image, iters)`

##### Arguments

- col
A vector or list of colors

- image
A vector or list of colors

- iters
A number indicating the number of iterations desired. If set to greater than 1,

`iters`

becomes the length of the output.

*Documentation reproduced from package dsmodels, version 1.1.0, License: GPL-2 | file LICENSE*

### Community examples

Looks like there are no examples yet.