termColours {ERSA}R Documentation

Constructs colour vector for model terms

Description

Constructs colour vector for model terms

Usage

termColours(f, pal = RColorBrewer::brewer.pal(4, "Set2"))

Arguments

f

a model fit with term labels

pal

use this palette

Value

a vector of colours. Residuals are given a grey color

Examples

termColours(lm(mpg ~ wt+hp, data=mtcars))

[Package ERSA version 0.1.4 Index]