Learn R Programming

desire (version 1.0.7)

plot.desire.function: Plot curve of desirability function

Description

Plot a desirability function.

Usage

"plot"(x, n = 600, xlim = NULL, ylim = c(0, 1), xlab = "Value", ylab = "Desirability", ..., main)

Arguments

x
desirability function
n
the number of x values at which to evaluate.
xlim
numeric of length 2; if specified, it serves as the default for the range of x values.
ylim
numeric of length 2; if specified, it serves as the default for the range of y values.
xlab
x axes label
ylab
y axes label
...
arguments passed to lines.
main
main title of plot