Description Usage Arguments Details Value Author(s) See Also Examples

This function attempts to plot the boundary of the decision region, but currently falls flat. Will be rewritten.

1 2 | ```
plotBoundary(b1, b0, p, glrTables = NULL, tol=1e-7,
legend=FALSE, textXOffset=2, textYSkip=2)
``` |

`b1` |
The acceptance boundary value (corresponds to the boundary |

`b0` |
The rejection boundary value (corresponds to the boundary |

`p` |
The vector of probabilities, |

`glrTables` |
A previously computed set of likelihood functions, to speed up
computation for the |

`tol` |
The tolerance, default of 1e-7 |

`legend` |
A flag indicating if a legend is desired or not, default false |

`textXOffset` |
Horizontal offset for legend text |

`textYSkip` |
Vertical skip for legend text |

This essentially computes the recursion and the probabilities of hitting the boundaries and returns a ggplot2 object

A ggplot2 object

Balasubramanian Narasimhan

See Also `glrSearch`

1 | ```
plotBoundary(b1=2.8, b0=3.3, p=c(.5, .75))
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.