mymaxlik: mymaxlik

View source: R/mymaxlik.R

mymaxlikR Documentation

mymaxlik

Description

mymaxlik

Usage

mymaxlik(lfun, x, param, ...)

Arguments

lfun

The logarithmic function used to estimate the maximum likelihood of the parameter

x

The sample of data

param

An interval of values to be used as the desired parameter

...

Any additional graphical parameters desired

Value

A plot of the log likelihood with the maximum labeled, the value of the maximum likelihood parameter estimate, the maximum likelihood, and a vector of slopes before and after the parameter estimate

Examples

## Not run: mymaxlik(x=y,lfun="mean",param=seq(0,1,length=1000))

BrandonMichaudOU/MATH.4753.113499560 documentation built on May 2, 2022, 5:41 a.m.