mymaxlikg: mymaxlikg Creates a graphical likelihood for a probability.

View source: R/mymaxlikg.R

mymaxlikgR Documentation

mymaxlikg Creates a graphical likelihood for a probability.

Description

mymaxlikg Creates a graphical likelihood for a probability.

Usage

mymaxlikg(lfun, theta, ...)

Arguments

lfun

A likelihood function, must be definied outside the mymaxlikg function.

theta

A sequence between 0 and 1 representing the range in which the probability can realistically lie.

...

Extra parameters passed on to plot function.

Value

Returns a graphical likelihood of a probability based on a supplied likelihood function.

Examples

## Not run: mymaxlikg(lfun = "logbin2", theta = seq(0,1,length=1000)

treyhille/MATH4753.0231 documentation built on May 3, 2022, 8:25 p.m.