Plot a desirability function and its relation to an arbitrary expression.

1 2 3 |

`expr` |
an expression written as a function of 'x', or alternatively the name of a function which will be plotted. |

`f` |
desirability function |

`from,to` |
the range over which the function will be plotted. |

`n` |
integer; the number of x values at which to evaluate. |

`show.zero` |
add dotted line to visualize the origin |

`interest` |
vector of interesting points |

`main` |
an overall title for the plot |

`sub` |
a subtitle for the plot |

`...` |
parameters passed to low level plot functions |

Heike Trautmann trautmann@statistik.tu-dortmund.de, Detlef Steuer steuer@hsu-hamburg.de and Olaf Mersmann olafm@statistik.tu-dortmund.de

1 2 3 4 | ```
d1 <- harrington2(2, 4, 2)
dsplot(x*log(x), d1,
from=0, to=6, n=507,
interest=c(2, 3, 4))
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.