make.gradient.scale: Gradient scale for posterior utility from DIDACT grid plot.

Description Usage Arguments Examples

View source: R/plot_functions.R

Description

This function produces a gradient scale that can be used with a DIDACT grid plot.

Usage

1
2
3
make.gradient.scale(spectrum = make.spectrum(c("white", "black"), n =
  100), mode = c("horizontal", "vertical"), utility.type = c("power",
  "contrasts"), title.cex = 1.5, axis.cex = 1.5, text.cex = 1.5)

Arguments

spectrum

DEFAULT: make.spectrum(c("white", "black"), n = 100). The color spectrum to be used in the gradient.

mode

DEFAULT: "horizontal". Specifies whether the gradient is horizontally or vertically oriented.

utility.type

DEFAULT: "power". Specifies whether the utility function is power or contrasts.

title.cex

DEFAULT: 1.5. Specifies the text size of the gradient title.

axis.cex

DEFAULT: 1.5. Specifies the text size of the gradient labels.

Examples

1

gkeele/DIDACT documentation built on Jan. 1, 2020, 2:58 a.m.