This function plots a probability density, mass, or distribution function, adapting the form of the plot as appropriate.

1 |

`x` |
horizontal coordinates |

`p` |
vertical coordinates |

`discrete` |
is the random variable discrete? |

`cdf` |
is this a cumulative distribution (as opposed to mass) function? |

`...` |
arguments to be passed to |

Produces a plot; returns `NULL`

invisibly.

John Fox jfox@mcmaster.ca

1 2 |

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

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