powered by
These are convenience functions that combine creating a litmus object and evaluating it, into one step.
gold.seq (n, …) blue.seq (n, …, hcv=FALSE) green.seq (n, …, hcv=FALSE) rainbow.seq (n, …) heat.seq (n, …)gold.fit (x, …) blue.fit (x, …, hcv=FALSE) green.fit (x, …, hcv=FALSE) rainbow.fit (x, …) heat.fit (x, …)
gold.fit (x, …) blue.fit (x, …, hcv=FALSE) green.fit (x, …, hcv=FALSE) rainbow.fit (x, …) heat.fit (x, …)
Integer, the number of points, in the sequence.
Numeric vector.
Logical, if true, use the high color variation option.
Ignored.
A character vector of R colors.
The .seq functions construct a litmus object over the interval one to n, and then evaluate it with one to n.
The .fit function fit a litmus object to x, and then evaluate it with x.
Note that rainbow.seq is similar to colorspace::rainbow_hcl.
Refer to the vignette for an overview, references and better examples.
litmus, litmus.fit
Predefined Litmus Objects, Predefined Litmus-Fitting Functions
# NOT RUN { blue.seq (10) blue.fit (rnorm (30) ) # }
Run the code above in your browser using DataLab