mymaxlik: mymaxlik

Description Usage Arguments Details Value Examples

View source: R/mymaxlik.R

Description

Finds the maximum likelihood estimate

Usage

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

Arguments

lfun

a function

x

vetor of param values

Details

This is a function created in the Math4753 package that when given a function, param and x it gives you the Maximum Likelihood Estimate

Value

a list with the following values list(i=i,parami=param[i],yi=y[i],slope=slope)

Examples

1
2
mymaxlik(x=c(3,3,4,3,4,5,5,4),param=seq(0,1,length=1000),lfun=logbin,main="Binomial",cex.main=1,xlab=expression(p))
#

lukedlw/math4753ward0018 documentation built on April 28, 2020, 6:07 a.m.