termColours: Constructs colour vector for model terms

Description Usage Arguments Value Examples

View source: R/appPlots.R

Description

Constructs colour vector for model terms

Usage

1
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

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

cbhurley/ERSA documentation built on July 20, 2020, 5:15 a.m.